1 |
commit: eebc4497a89bbd84f11231ef06be92139b866fac |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 31 10:23:36 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 31 10:24:29 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eebc4497 |
7 |
|
8 |
app-emulation/dosemu: set default CPP |
9 |
|
10 |
On autoconf-2.69 CPP detection was missing. |
11 |
|
12 |
Reported-by: Agostino Sarubbo |
13 |
Closes: https://bugs.gentoo.org/762748 |
14 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
15 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
16 |
|
17 |
app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild | 7 +++++-- |
18 |
1 file changed, 5 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild b/app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild |
21 |
index 61a15bd1f53..5700973fde6 100644 |
22 |
--- a/app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild |
23 |
+++ b/app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild |
24 |
@@ -90,6 +90,8 @@ src_configure() { |
25 |
fi |
26 |
|
27 |
# sndfile support is unconditionally disabled in src/plugin/sndfile/snd_o_wav.c |
28 |
+ # CPP has to be set explicitly to workaround autoconf-2.69 |
29 |
+ # CPP detection (fixed in 2.70). bug #762748. |
30 |
econf $(use_with X x) \ |
31 |
$(use_with svga svgalib) \ |
32 |
$(use_enable debug) \ |
33 |
@@ -100,11 +102,12 @@ src_configure() { |
34 |
--with-fdtarball="${DISTDIR}"/${P_FD}.tgz \ |
35 |
--sysconfdir="${EPREFIX}"/etc/dosemu/ \ |
36 |
--with-docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
37 |
- IA16_LDFLAGS_EXTRA=${nopie_flag} |
38 |
+ IA16_LDFLAGS_EXTRA=${nopie_flag} \ |
39 |
+ CPP="$(tc-getCPP)" |
40 |
} |
41 |
|
42 |
src_compile() { |
43 |
- # src/makefile.common is fritten manually, uses AR=ar |
44 |
+ # src/makefile.common is written manually, uses AR=ar |
45 |
emake AR=$(tc-getAR) |
46 |
} |