1 |
commit: 76fd9a568aadd3c7ade9674efe34844a59581267 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 16 21:24:14 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 17 22:34:21 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76fd9a56 |
7 |
|
8 |
dev-util/dialog: fix Darwin install |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
dev-util/dialog/dialog-1.3.20210324.ebuild | 5 +++++ |
13 |
1 file changed, 5 insertions(+) |
14 |
|
15 |
diff --git a/dev-util/dialog/dialog-1.3.20210324.ebuild b/dev-util/dialog/dialog-1.3.20210324.ebuild |
16 |
index 49c4faca403..c6096507149 100644 |
17 |
--- a/dev-util/dialog/dialog-1.3.20210324.ebuild |
18 |
+++ b/dev-util/dialog/dialog-1.3.20210324.ebuild |
19 |
@@ -22,11 +22,16 @@ BDEPEND="!minimal? ( sys-devel/libtool )" |
20 |
|
21 |
src_prepare() { |
22 |
default |
23 |
+ |
24 |
sed -i -e '/LIB_CREATE=/s:${CC}:& ${LDFLAGS}:g' configure || die |
25 |
sed -i '/$(LIBTOOL_COMPILE)/s:$: $(LIBTOOL_OPTS):' makefile.in || die |
26 |
} |
27 |
|
28 |
src_configure() { |
29 |
+ if [[ ${CHOST} == *-darwin* ]] ; then |
30 |
+ export ac_cv_prog_LIBTOOL=glibtool |
31 |
+ fi |
32 |
+ |
33 |
econf \ |
34 |
--disable-rpath-hack \ |
35 |
$(use_enable nls) \ |