diff options
author | Sam James <sam@gentoo.org> | 2021-05-16 22:24:14 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-05-17 22:34:21 +0000 |
commit | 76fd9a568aadd3c7ade9674efe34844a59581267 (patch) | |
tree | b0c8a07f2f7d1ff93c5a1e605cb08ad96c35eae3 /dev-util | |
parent | media-libs/opencv: drop dependency on virtual/lapacke (diff) | |
download | gentoo-76fd9a568aadd3c7ade9674efe34844a59581267.tar.gz gentoo-76fd9a568aadd3c7ade9674efe34844a59581267.tar.bz2 gentoo-76fd9a568aadd3c7ade9674efe34844a59581267.zip |
dev-util/dialog: fix Darwin install
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/dialog/dialog-1.3.20210324.ebuild | 5 |
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) \ |