summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/dialog/dialog-1.3.20210324.ebuild')
-rw-r--r--dev-util/dialog/dialog-1.3.20210324.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-util/dialog/dialog-1.3.20210324.ebuild b/dev-util/dialog/dialog-1.3.20210324.ebuild
index 49c4faca4039..c60965071491 100644
--- a/dev-util/dialog/dialog-1.3.20210324.ebuild
+++ b/dev-util/dialog/dialog-1.3.20210324.ebuild
@@ -22,11 +22,16 @@ BDEPEND="!minimal? ( sys-devel/libtool )"
src_prepare() {
default
+
sed -i -e '/LIB_CREATE=/s:${CC}:& ${LDFLAGS}:g' configure || die
sed -i '/$(LIBTOOL_COMPILE)/s:$: $(LIBTOOL_OPTS):' makefile.in || die
}
src_configure() {
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ export ac_cv_prog_LIBTOOL=glibtool
+ fi
+
econf \
--disable-rpath-hack \
$(use_enable nls) \