diff options
author | 2011-08-03 17:49:53 +0000 | |
---|---|---|
committer | 2011-08-03 17:49:53 +0000 | |
commit | fde7ded686e6e80c629f86191b07ac28f369698c (patch) | |
tree | 4804033e7b212a35e593f56ce0a81e22381641e0 /net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild | |
parent | Fix finding qt libraries on 32b platform. Fixes bug #377377. (diff) | |
download | historical-fde7ded686e6e80c629f86191b07ac28f369698c.tar.gz historical-fde7ded686e6e80c629f86191b07ac28f369698c.tar.bz2 historical-fde7ded686e6e80c629f86191b07ac28f369698c.zip |
Drop unneeded die calls for EAPI-4, remove some unneeded code for unsupported targets
Package-Manager: portage-2.2.0_alpha49-r1/cvs/Linux x86_64
Diffstat (limited to 'net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild')
-rw-r--r-- | net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild b/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild index 4e05cf43f626..421019ab2e6a 100644 --- a/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild +++ b/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild,v 1.1 2011/07/31 18:20:59 tommy Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-libs/nativebiginteger/nativebiginteger-0.8.7.ebuild,v 1.2 2011/08/03 17:49:53 tommy Exp $ EAPI=4 @@ -12,7 +12,7 @@ SRC_URI="http://mirror.i2p2.de/i2psource_${PV}.tar.bz2" LICENSE="|| ( public-domain BSD MIT )" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 ~x86 ~ia64" IUSE="test" @@ -56,20 +56,13 @@ src_test() { src_install() { local os arch - dolib c/jbigi/jbigi/src/libjbigi.so || die - ( use amd64 || use x86 ) && dolib c/jcpuid/lib/freenet/support/CPUInformation/libjcpuid-x86-linux.so || die + dolib c/jbigi/jbigi/src/libjbigi.so + ( use amd64 || use x86 ) && dolib c/jcpuid/lib/freenet/support/CPUInformation/libjcpuid-x86-linux.so ## The following is needed for compatibility with earlier versions of NativeBigInteger ## - # os list found by: grep 'jbigi-' core/java/src/net/i2p/util/NativeBigInteger.java - case ${CHOST} in - *-fbsd) os=freebsd ;; - *-darwin) os=osx ;; - *-mingw*|*-cygwin) os=windows ;; - *) os=linux ;; - esac # arch list found by "none" + grep 'JBIGI_OPTIMIZATION_.*=' core/java/src/net/i2p/util/NativeBigInteger.java for arch in none arm k6 k62 k63 athlon x86_64 x86_64_32 pentium pentiummmx pentium2 pentium3 pentium4 ppc ; do - dosym libjbigi.so /usr/$(get_libdir)/libjbigi-$os-$arch.so || die + dosym libjbigi.so /usr/$(get_libdir)/libjbigi-linux-$arch.so done } |