diff options
author | 2005-04-05 05:22:02 +0000 | |
---|---|---|
committer | 2005-04-05 05:22:02 +0000 | |
commit | 84d1c90ce8041db2535aa52d186a8405e1a20950 (patch) | |
tree | c0a3b7c8168afd89263b56c85781d9db70baa925 /app-emulation/dosemu/dosemu-1.2.2-r1.ebuild | |
parent | Version bump. (diff) | |
download | historical-84d1c90ce8041db2535aa52d186a8405e1a20950.tar.gz historical-84d1c90ce8041db2535aa52d186a8405e1a20950.tar.bz2 historical-84d1c90ce8041db2535aa52d186a8405e1a20950.zip |
Respect user CFLAGS.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'app-emulation/dosemu/dosemu-1.2.2-r1.ebuild')
-rw-r--r-- | app-emulation/dosemu/dosemu-1.2.2-r1.ebuild | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/app-emulation/dosemu/dosemu-1.2.2-r1.ebuild b/app-emulation/dosemu/dosemu-1.2.2-r1.ebuild index 715a742a7140..195c35671fe7 100644 --- a/app-emulation/dosemu/dosemu-1.2.2-r1.ebuild +++ b/app-emulation/dosemu/dosemu-1.2.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/dosemu/dosemu-1.2.2-r1.ebuild,v 1.4 2005/02/20 00:43:12 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/dosemu/dosemu-1.2.2-r1.ebuild,v 1.5 2005/04/05 05:22:02 eradicator Exp $ inherit flag-o-matic eutils @@ -15,15 +15,22 @@ SLOT="0" KEYWORDS="-* ~x86" IUSE="X svga gpm debug" -DEPEND="X? ( virtual/x11 ) +RDEPEND="X? ( virtual/x11 ) svga? ( media-libs/svgalib ) gpm? ( sys-libs/gpm ) sys-libs/slang" +DEPEND="${RDEPEND} + >=sys-devel/autoconf-2.57" + src_unpack() { unpack ${P}.tgz cd ${S} - epatch ${FILESDIR}/dosemu-broken-links.diff + epatch ${FILESDIR}/${PN}-broken-links.diff + epatch ${FILESDIR}/${P}-cflags.patch + + WANT_AUTOCONF=2.5 + autoconf || die "autoconf failed" } src_compile() { @@ -37,7 +44,10 @@ src_compile() { # Has problems with -O3 on some systems replace-flags -O[3-9] -O2 - append-flags -fno-pic + + # Fix compilation on hardened. filter -fPIC rather than appending + # -fno-pic + filter-flage -fPIC econf ${myflags} || die "DOSemu Base Configuration Failed" |