commit: 76fd9a568aadd3c7ade9674efe34844a59581267
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 16 21:24:14 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 17 22:34:21 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76fd9a56
dev-util/dialog: fix Darwin install
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-util/dialog/dialog-1.3.20210324.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dev-util/dialog/dialog-1.3.20210324.ebuild
b/dev-util/dialog/dialog-1.3.20210324.ebuild
index 49c4faca403..c6096507149 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) \