diff options
author | Jory Pratt <anarchy@gentoo.org> | 2010-02-22 00:59:01 +0000 |
---|---|---|
committer | Jory Pratt <anarchy@gentoo.org> | 2010-02-22 00:59:01 +0000 |
commit | 2ddb3d43ea28737c9903c2ed805a0a905474beef (patch) | |
tree | e15d4baf5b19348b491e5ec970ce9aaf6c53ba33 /dev-libs | |
parent | Call epatch only once (diff) | |
download | gentoo-2-2ddb3d43ea28737c9903c2ed805a0a905474beef.tar.gz gentoo-2-2ddb3d43ea28737c9903c2ed805a0a905474beef.tar.bz2 gentoo-2-2ddb3d43ea28737c9903c2ed805a0a905474beef.zip |
minor fix ups, readd ipv6 useflag
(Portage version: 2.1.7.17/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/nspr/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/nspr/nspr-4.8.3-r3.ebuild (renamed from dev-libs/nspr/nspr-4.8.3-r2.ebuild) | 19 |
2 files changed, 17 insertions, 10 deletions
diff --git a/dev-libs/nspr/ChangeLog b/dev-libs/nspr/ChangeLog index 1f4d0faa143a..1ceb5930266f 100644 --- a/dev-libs/nspr/ChangeLog +++ b/dev-libs/nspr/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/nspr # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.135 2010/02/11 03:30:01 anarchy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.136 2010/02/22 00:59:01 anarchy Exp $ + +*nspr-4.8.3-r3 (22 Feb 2010) + + 22 Feb 2010; <anarchy@gentoo.org> -nspr-4.8.3-r2.ebuild, + +nspr-4.8.3-r3.ebuild: + minor fix ups, readd ipv6 useflag *nspr-4.8.3-r2 (11 Feb 2010) diff --git a/dev-libs/nspr/nspr-4.8.3-r2.ebuild b/dev-libs/nspr/nspr-4.8.3-r3.ebuild index 54c07a27ff1a..76aba563fd7a 100644 --- a/dev-libs/nspr/nspr-4.8.3-r2.ebuild +++ b/dev-libs/nspr/nspr-4.8.3-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.8.3-r2.ebuild,v 1.1 2010/02/11 03:30:01 anarchy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.8.3-r3.ebuild,v 1.1 2010/02/22 00:59:01 anarchy Exp $ inherit eutils multilib toolchain-funcs versionator @@ -13,7 +13,7 @@ SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="debug" +IUSE="debug ipv6" src_unpack() { unpack ${A} @@ -46,8 +46,9 @@ src_compile() { ECONF_SOURCE="../mozilla/nsprpub" econf \ $(use_enable debug) \ $(use_enable !debug optimize) \ + $(use_enable ipv6) \ ${myconf} || die "econf failed" - make CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die + emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "failed to build" } src_install () { @@ -59,23 +60,23 @@ src_install () { cd "${D}"/usr/$(get_libdir) for file in *.a; do einfo "removing static libraries as upstream has requested!" - rm ${file} + rm -f ${file} || die "failed to remove staic libraries." done for file in *.so; do - mv ${file} ${file}.${MINOR_VERSION} - ln -s ${file}.${MINOR_VERSION} ${file} + mv ${file} ${file}.${MINOR_VERSION} || die "failed to mv files around" + ln -s ${file}.${MINOR_VERSION} ${file} || die "failed to symlink files." done # install nspr-config - dobin "${S}"/build/config/nspr-config + dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config" # create pkg-config file insinto /usr/$(get_libdir)/pkgconfig/ - doins "${S}"/build/config/nspr.pc + doins "${S}"/build/config/nspr.pc || die "failed to insall nspr pkg-config file" # Remove stupid files in /usr/bin - rm "${D}"/usr/bin/prerr.properties + rm -f "${D}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files" } pkg_postinst() { |