commit:     eebc4497a89bbd84f11231ef06be92139b866fac
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 31 10:23:36 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Dec 31 10:24:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eebc4497

app-emulation/dosemu: set default CPP

On autoconf-2.69 CPP detection was missing.

Reported-by: Agostino Sarubbo
Closes: https://bugs.gentoo.org/762748
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild 
b/app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild
index 61a15bd1f53..5700973fde6 100644
--- a/app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild
+++ b/app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild
@@ -90,6 +90,8 @@ src_configure() {
        fi
 
        # sndfile support is unconditionally disabled in 
src/plugin/sndfile/snd_o_wav.c
+       # CPP has to be set explicitly to workaround autoconf-2.69
+       # CPP detection (fixed in 2.70). bug #762748.
        econf $(use_with X x) \
                $(use_with svga svgalib) \
                $(use_enable debug) \
@@ -100,11 +102,12 @@ src_configure() {
                --with-fdtarball="${DISTDIR}"/${P_FD}.tgz \
                --sysconfdir="${EPREFIX}"/etc/dosemu/ \
                --with-docdir="${EPREFIX}"/usr/share/doc/${PF} \
-               IA16_LDFLAGS_EXTRA=${nopie_flag}
+               IA16_LDFLAGS_EXTRA=${nopie_flag} \
+               CPP="$(tc-getCPP)"
 }
 
 src_compile() {
-       # src/makefile.common is fritten manually, uses AR=ar
+       # src/makefile.common is written manually, uses AR=ar
        emake AR=$(tc-getAR)
 }
 

Reply via email to