summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-12-24 11:48:43 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-12-24 11:48:43 +0000
commit60aaa197bbf37abfd8b6b98d781e2b9c75a5329d (patch)
treed263a9f4cfd293f440cb9c9c1c787c1ad5df8533 /dev-libs/nspr
parentRemove old. (diff)
downloadgentoo-2-60aaa197bbf37abfd8b6b98d781e2b9c75a5329d.tar.gz
gentoo-2-60aaa197bbf37abfd8b6b98d781e2b9c75a5329d.tar.bz2
gentoo-2-60aaa197bbf37abfd8b6b98d781e2b9c75a5329d.zip
alpha/arm/ia64 stable wrt #234646
(Portage version: 2.1.4.5)
Diffstat (limited to 'dev-libs/nspr')
-rw-r--r--dev-libs/nspr/ChangeLog6
-rw-r--r--dev-libs/nspr/nspr-4.7.1.ebuild88
-rw-r--r--dev-libs/nspr/nspr-4.7.2.ebuild88
-rw-r--r--dev-libs/nspr/nspr-4.7.3.ebuild4
4 files changed, 7 insertions, 179 deletions
diff --git a/dev-libs/nspr/ChangeLog b/dev-libs/nspr/ChangeLog
index 9c1ff8ecfbee..7e4fb3be1fa6 100644
--- a/dev-libs/nspr/ChangeLog
+++ b/dev-libs/nspr/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/nspr
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.111 2008/12/23 19:30:12 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.112 2008/12/24 11:48:43 armin76 Exp $
+
+ 24 Dec 2008; Raúl Porcel <armin76@gentoo.org> -nspr-4.7.1.ebuild,
+ -nspr-4.7.2.ebuild, nspr-4.7.3.ebuild:
+ alpha/arm/ia64 stable wrt #234646
23 Dec 2008; Markus Meier <maekke@gentoo.org> nspr-4.7.3.ebuild:
x86 stable, bug #234646
diff --git a/dev-libs/nspr/nspr-4.7.1.ebuild b/dev-libs/nspr/nspr-4.7.1.ebuild
deleted file mode 100644
index cc3d89fc15d0..000000000000
--- a/dev-libs/nspr/nspr-4.7.1.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.7.1.ebuild,v 1.3 2008/11/15 18:31:56 armin76 Exp $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Netscape Portable Runtime"
-HOMEPAGE="http://www.mozilla.org/projects/nspr/"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
-
-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="ipv6 debug"
-
-DEPEND=">=dev-db/sqlite-3.5"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- mkdir build inst
- epatch "${FILESDIR}"/${PN}-4.6.1-config.patch
- epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch
- epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch
- epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch
-
- # Respect LDFLAGS
- sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
- mozilla/nsprpub/config/rules.mk
-}
-
-src_compile() {
- cd "${S}"/build
-
- echo > "${T}"/test.c
- $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o
- case $(file "${T}"/test.o) in
- *64-bit*) myconf="${myconf} --enable-64bit";;
- *32-bit*) ;;
- *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
- esac
-
- if use ipv6; then
- myconf="${myconf} --enable-ipv6"
- fi
-
- myconf="${myconf} --libdir=/usr/$(get_libdir)/nspr \
- --enable-system-sqlite"
-
- ECONF_SOURCE="../mozilla/nsprpub" econf \
- $(use_enable debug) \
- ${myconf} || die "econf failed"
- make CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
-}
-
-src_install () {
- # Their build system is royally fucked, as usual
- MINOR_VERSION=7
- cd "${S}"/build
- emake DESTDIR="${D}" install || die "emake install failed"
-
- cd "${D}"/usr/$(get_libdir)/nspr
- for file in *.so; do
- mv ${file} ${file}.${MINOR_VERSION}
- ln -s ${file}.${MINOR_VERSION} ${file}
- done
- # cope with libraries being in /usr/lib/nspr
- dodir /etc/env.d
- echo "LDPATH=/usr/$(get_libdir)/nspr" > "${D}/etc/env.d/08nspr"
-
- # install nspr-config
- dobin "${S}"/build/config/nspr-config
-
- # create pkg-config file
- insinto /usr/$(get_libdir)/pkgconfig/
- doins "${S}"/build/config/nspr.pc
-
- # Remove stupid files in /usr/bin
- rm "${D}"/usr/bin/{prerr.properties,nspr.pc}
-}
-
-pkg_preinst() {
- preserve_old_lib /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6
-}
diff --git a/dev-libs/nspr/nspr-4.7.2.ebuild b/dev-libs/nspr/nspr-4.7.2.ebuild
deleted file mode 100644
index 940e337ebd18..000000000000
--- a/dev-libs/nspr/nspr-4.7.2.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.7.2.ebuild,v 1.2 2008/11/15 18:31:56 armin76 Exp $
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="Netscape Portable Runtime"
-HOMEPAGE="http://www.mozilla.org/projects/nspr/"
-SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v${PV}/src/${P}.tar.gz"
-
-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="ipv6 debug"
-
-DEPEND=">=dev-db/sqlite-3.5"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- mkdir build inst
- epatch "${FILESDIR}"/${PN}-4.6.1-config.patch
- epatch "${FILESDIR}"/${PN}-4.6.1-config-1.patch
- epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch
- epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch
-
- # Respect LDFLAGS
- sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
- mozilla/nsprpub/config/rules.mk
-}
-
-src_compile() {
- cd "${S}"/build
-
- echo > "${T}"/test.c
- $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o
- case $(file "${T}"/test.o) in
- *64-bit*) myconf="${myconf} --enable-64bit";;
- *32-bit*) ;;
- *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
- esac
-
- if use ipv6; then
- myconf="${myconf} --enable-ipv6"
- fi
-
- myconf="${myconf} --libdir=/usr/$(get_libdir)/nspr \
- --enable-system-sqlite"
-
- ECONF_SOURCE="../mozilla/nsprpub" econf \
- $(use_enable debug) \
- ${myconf} || die "econf failed"
- make CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die
-}
-
-src_install () {
- # Their build system is royally fucked, as usual
- MINOR_VERSION=7
- cd "${S}"/build
- emake DESTDIR="${D}" install || die "emake install failed"
-
- cd "${D}"/usr/$(get_libdir)/nspr
- for file in *.so; do
- mv ${file} ${file}.${MINOR_VERSION}
- ln -s ${file}.${MINOR_VERSION} ${file}
- done
- # cope with libraries being in /usr/lib/nspr
- dodir /etc/env.d
- echo "LDPATH=/usr/$(get_libdir)/nspr" > "${D}/etc/env.d/08nspr"
-
- # install nspr-config
- dobin "${S}"/build/config/nspr-config
-
- # create pkg-config file
- insinto /usr/$(get_libdir)/pkgconfig/
- doins "${S}"/build/config/nspr.pc
-
- # Remove stupid files in /usr/bin
- rm "${D}"/usr/bin/{prerr.properties,nspr.pc}
-}
-
-pkg_preinst() {
- preserve_old_lib /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6
-}
-
-pkg_postinst() {
- preserve_old_lib_notify /usr/$(get_libdir)/nspr/lib{nspr,plc,plds}4.so.6
-}
diff --git a/dev-libs/nspr/nspr-4.7.3.ebuild b/dev-libs/nspr/nspr-4.7.3.ebuild
index 678b54f8d62d..52388f8b554e 100644
--- a/dev-libs/nspr/nspr-4.7.3.ebuild
+++ b/dev-libs/nspr/nspr-4.7.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.7.3.ebuild,v 1.4 2008/12/23 19:30:12 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.7.3.ebuild,v 1.5 2008/12/24 11:48:43 armin76 Exp $
inherit eutils multilib toolchain-funcs
@@ -10,7 +10,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"
+KEYWORDS="alpha amd64 arm ~hppa ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
IUSE="ipv6 debug"
DEPEND=">=dev-db/sqlite-3.5"