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 | |
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')
-rw-r--r-- | app-admin/paxtest/ChangeLog | 5 | ||||
-rw-r--r-- | app-admin/paxtest/paxtest-0.9.5-r1.ebuild | 15 |
2 files changed, 17 insertions, 3 deletions
diff --git a/app-admin/paxtest/ChangeLog b/app-admin/paxtest/ChangeLog index 84791f94b3b3..826d6d714e6a 100644 --- a/app-admin/paxtest/ChangeLog +++ b/app-admin/paxtest/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-admin/paxtest # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/paxtest/ChangeLog,v 1.11 2004/06/24 21:33:50 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/paxtest/ChangeLog,v 1.12 2004/07/29 09:47:21 lv Exp $ + + 29 Jul 2004; Travis Tilley <lv@gentoo.org> paxtest-0.9.5-r1.ebuild: + added very preliminary support for non-x86 archs and added ~amd64 keyword 07 May 2004; Brandon Hale <tseng@gentoo.org> paxtest-0.9.5-r1.ebuild: Added IUSE= 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." ) +} |