diff options
author | Travis Tilley <lv@gentoo.org> | 2004-07-29 09:47:21 +0000 |
---|---|---|
committer | Travis Tilley <lv@gentoo.org> | 2004-07-29 09:47:21 +0000 |
commit | c1ee9a8ae91988220e95be3c64b0a48fb6fa2b39 (patch) | |
tree | ac7a59271949e4c736ccad762742c788483c7a17 /app-admin/paxtest/paxtest-0.9.5-r1.ebuild | |
parent | Bump to -r2. Fixed overflow issue in Bug #57962. (Manifest recommit) (diff) | |
download | gentoo-2-c1ee9a8ae91988220e95be3c64b0a48fb6fa2b39.tar.gz gentoo-2-c1ee9a8ae91988220e95be3c64b0a48fb6fa2b39.tar.bz2 gentoo-2-c1ee9a8ae91988220e95be3c64b0a48fb6fa2b39.zip |
added very preliminary support for non-x86 archs and added ~amd64 keyword
Diffstat (limited to 'app-admin/paxtest/paxtest-0.9.5-r1.ebuild')
-rw-r--r-- | app-admin/paxtest/paxtest-0.9.5-r1.ebuild | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/app-admin/paxtest/paxtest-0.9.5-r1.ebuild b/app-admin/paxtest/paxtest-0.9.5-r1.ebuild index 6cee39815eb2..b2d5a23fd226 100644 --- a/app-admin/paxtest/paxtest-0.9.5-r1.ebuild +++ b/app-admin/paxtest/paxtest-0.9.5-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/paxtest/paxtest-0.9.5-r1.ebuild,v 1.7 2004/06/25 19:28:26 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/paxtest/paxtest-0.9.5-r1.ebuild,v 1.8 2004/07/29 09:47:21 lv Exp $ inherit eutils @@ -14,7 +14,7 @@ SRC_URI="http://pageexec.virtualave.net/paxtest-${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="x86" +KEYWORDS="x86 ~amd64" IUSE="" DEPEND="virtual/libc @@ -26,6 +26,10 @@ src_unpack() { epatch ${FILESDIR}/paxtest-0.9.5.1.diff cp Makefile{,.orig} cp Makefile{.Gentoo-hardened,} + + # paxtest includes crt1S.S, which is great if you're on x86, but not so + # much if you're not... lets use the system Scrt1.o + use !x86 && cp ${ROOT}/usr/lib/Scrt1.o ${S}/crt1S.o } src_compile() { @@ -38,3 +42,10 @@ src_install() { [ -f "${doc}" ] && dodoc ${doc} done } + +pkg_postinst() { + use !x86 && ( + ewarn "WARNING: support for non-x86 archs is currently a hack." + ewarn "since you're not on x86, you may get \"Accessing a corrupted shared library\"" + ewarn "during the getmain2 and getheap2 tests." ) +} |