diff options
author | Ian Stakenvicius <axs@gentoo.org> | 2014-06-15 09:01:46 -0400 |
---|---|---|
committer | Ian Stakenvicius <axs@gentoo.org> | 2014-06-15 09:02:47 -0400 |
commit | 9be11c2069a9c343291a6622005b11811cd33794 (patch) | |
tree | 0a2ffc5a6181d59dbe66ca8ae36e63f52113ced5 /dev-libs/nspr | |
parent | one last fix (diff) | |
download | mozilla-9be11c2069a9c343291a6622005b11811cd33794.tar.gz mozilla-9be11c2069a9c343291a6622005b11811cd33794.tar.bz2 mozilla-9be11c2069a9c343291a6622005b11811cd33794.zip |
sync'ed nspr and nss ebuilds with updates from the portage tree
Diffstat (limited to 'dev-libs/nspr')
-rw-r--r-- | dev-libs/nspr/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/nspr/nspr-4.10.6-r1.ebuild | 18 | ||||
-rw-r--r-- | dev-libs/nspr/nspr-4.10.6.ebuild | 24 |
3 files changed, 24 insertions, 19 deletions
diff --git a/dev-libs/nspr/Manifest b/dev-libs/nspr/Manifest index e3769181..f5a5b284 100644 --- a/dev-libs/nspr/Manifest +++ b/dev-libs/nspr/Manifest @@ -1,2 +1 @@ -DIST nspr-4.10.4.tar.gz 1107127 SHA256 eb3fcc5e4cbd90f244c19ea05c2dfb4d22df4acc777d34ec6946dbfae560d838 SHA512 9aadd94473e840246b08b4377ac68ec8a1474997b7a08484993186843afdaca65157cf8797d8922f137d881a4df6fda66edc188ba579fdc6bba429571a701222 WHIRLPOOL b52435751f7cb131523d8aef27cc0b1400fe281a018f9f7370cb8d894920d71df49d37450ba057c381590998a81796221858d2f2f06597fd71c93082854717a9 DIST nspr-4.10.6.tar.gz 1131328 SHA256 df69ac8b0126f11907792384468adf42712b1d6db9772f4aa20c6d471594644a SHA512 a527a7123b4291903ac69899a82ea7e82a1945550b37f59199140a80d917540fb280172adeabf0fa09420debfd0d39c89c417166cd0a50e1eb6f1929a2a7460d WHIRLPOOL 6f7f422f50343f177896d9243a9ae89878823e92ffd3511131546a32b3cf481c9af34f5fef43c8a7c1d5974fc0959e1fa06ddd67133034563e06128e50a6f1f2 diff --git a/dev-libs/nspr/nspr-4.10.6-r1.ebuild b/dev-libs/nspr/nspr-4.10.6-r1.ebuild index f874b0b4..74ecfe08 100644 --- a/dev-libs/nspr/nspr-4.10.6-r1.ebuild +++ b/dev-libs/nspr/nspr-4.10.6-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.10.4.ebuild,v 1.1 2014/03/20 13:31:07 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.10.6-r1.ebuild,v 1.1 2014/06/13 14:19:49 axs Exp $ EAPI=5 WANT_AUTOCONF="2.5" @@ -58,15 +58,15 @@ multilib_src_configure() { case "${ABI}" in x32) myconf+=" --enable-x32";; s390x|*64) myconf+=" --enable-64bit";; - default) # no abi actually set, figure it out the old way + default) # no abi actually set, fall back to old check einfo "Running a short build test to determine 64bit'ness" - echo > "${T}"/test.c - ${CC} ${CFLAGS} ${CPPFLAGS} -c "${T}"/test.c -o "${T}"/test.o || die - case $(file "${T}"/test.o) in - *32-bit*x86-64*|*64-bit*|*ppc64*|*x86_64*) myconf+=" --enable-64bit";; - *32-bit*|*ppc*|*i386*) ;; - *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";; - esac ;; + echo > "${T}"/test.c + ${CC} ${CFLAGS} ${CPPFLAGS} -c "${T}"/test.c -o "${T}"/test.o || die + case $(file "${T}"/test.o) in + *32-bit*x86-64*|*64-bit*|*ppc64*|*x86_64*) myconf+=" --enable-64bit";; + *32-bit*|*ppc*|*i386*) ;; + *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";; + esac ;; *) ;; esac diff --git a/dev-libs/nspr/nspr-4.10.6.ebuild b/dev-libs/nspr/nspr-4.10.6.ebuild index 06d69296..305b273e 100644 --- a/dev-libs/nspr/nspr-4.10.6.ebuild +++ b/dev-libs/nspr/nspr-4.10.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.10.4.ebuild,v 1.1 2014/03/20 13:31:07 polynomial-c Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.10.6.ebuild,v 1.2 2014/06/13 16:14:10 zlogene Exp $ EAPI=5 WANT_AUTOCONF="2.5" @@ -15,7 +15,7 @@ SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" IUSE="debug" src_prepare() { @@ -55,13 +55,13 @@ src_configure() { local myconf einfo "Running a short build test to determine 64bit'ness" - echo > "${T}"/test.c - ${CC} ${CFLAGS} ${CPPFLAGS} -c "${T}"/test.c -o "${T}"/test.o || die - case $(file "${T}"/test.o) in - *32-bit*x86-64*|*64-bit*|*ppc64*|*x86_64*) myconf+=" --enable-64bit";; - *32-bit*|*ppc*|*i386*) ;; - *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";; - esac + echo > "${T}"/test.c + ${CC} ${CFLAGS} ${CPPFLAGS} -c "${T}"/test.c -o "${T}"/test.o || die + case $(file "${T}"/test.o) in + *32-bit*x86-64*|*64-bit*|*ppc64*|*x86_64*) myconf+=" --enable-64bit";; + *32-bit*|*ppc*|*i386*) ;; + *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";; + esac # Ancient autoconf needs help finding the right tools. LC_ALL="C" ECONF_SOURCE="${S}/nspr" \ @@ -73,7 +73,13 @@ src_configure() { ${myconf} } +src_compile() { + cd "${S}"/build || die + emake +} + src_install() { + cd "${S}"/build # Their build system is royally confusing, as usual MINOR_VERSION=${MIN_PV} # Used for .so version emake DESTDIR="${D}" install |