summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2013-06-19 12:55:07 +0000
committerLars Wendler <polynomial-c@gentoo.org>2013-06-19 12:55:07 +0000
commite4874e8af6400c0d1134fdf272376a4dca08fc6c (patch)
treed03e6be4949e1f4e45eeccfd25d7ab119c6f8cc7 /dev-libs
parentRemoved old versions (diff)
downloadgentoo-2-e4874e8af6400c0d1134fdf272376a4dca08fc6c.tar.gz
gentoo-2-e4874e8af6400c0d1134fdf272376a4dca08fc6c.tar.bz2
gentoo-2-e4874e8af6400c0d1134fdf272376a4dca08fc6c.zip
Removed old versions
(Portage version: 2.2.0_alpha181/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/nspr/ChangeLog11
-rw-r--r--dev-libs/nspr/files/nspr-4.6.1-config.patch89
-rw-r--r--dev-libs/nspr/files/nspr-4.7.0-prtime.patch26
-rw-r--r--dev-libs/nspr/files/nspr-4.8-pkgconfig-gentoo-2.patch126
-rw-r--r--dev-libs/nspr/files/nspr-4.8-pkgconfig-gentoo-3.patch126
-rw-r--r--dev-libs/nspr/files/nspr-4.8.3-aix-soname.patch43
-rw-r--r--dev-libs/nspr/files/nspr-4.9.1-x32_v0.2.patch91
-rw-r--r--dev-libs/nspr/nspr-4.8.8.ebuild105
-rw-r--r--dev-libs/nspr/nspr-4.8.9.ebuild112
-rw-r--r--dev-libs/nspr/nspr-4.9.1.ebuild107
-rw-r--r--dev-libs/nspr/nspr-4.9.2-r1.ebuild109
-rw-r--r--dev-libs/nspr/nspr-4.9.2.ebuild107
-rw-r--r--dev-libs/nspr/nspr-4.9.4.ebuild109
-rw-r--r--dev-libs/nspr/nspr-4.9.5-r1.ebuild109
-rw-r--r--dev-libs/nspr/nspr-4.9.5-r2.ebuild95
-rw-r--r--dev-libs/nspr/nspr-4.9.6.ebuild95
-rw-r--r--dev-libs/nspr/nspr-4.9.ebuild108
17 files changed, 10 insertions, 1558 deletions
diff --git a/dev-libs/nspr/ChangeLog b/dev-libs/nspr/ChangeLog
index 5c8ad585a6d4..5c98fc90bd33 100644
--- a/dev-libs/nspr/ChangeLog
+++ b/dev-libs/nspr/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-libs/nspr
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.230 2013/06/19 01:13:53 anarchy Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/ChangeLog,v 1.231 2013/06/19 12:55:06 polynomial-c Exp $
+
+ 19 Jun 2013; Lars Wendler <polynomial-c@gentoo.org> -nspr-4.8.8.ebuild,
+ -nspr-4.8.9.ebuild, -nspr-4.9.ebuild, -nspr-4.9.1.ebuild, -nspr-4.9.2.ebuild,
+ -nspr-4.9.2-r1.ebuild, -nspr-4.9.4.ebuild, -nspr-4.9.5-r1.ebuild,
+ -nspr-4.9.5-r2.ebuild, -nspr-4.9.6.ebuild, -files/nspr-4.6.1-config.patch,
+ -files/nspr-4.7.0-prtime.patch, -files/nspr-4.8.3-aix-soname.patch,
+ -files/nspr-4.8-pkgconfig-gentoo-2.patch,
+ -files/nspr-4.8-pkgconfig-gentoo-3.patch, -files/nspr-4.9.1-x32_v0.2.patch:
+ Removed old versions.
*nspr-4.10 (19 Jun 2013)
diff --git a/dev-libs/nspr/files/nspr-4.6.1-config.patch b/dev-libs/nspr/files/nspr-4.6.1-config.patch
deleted file mode 100644
index ffbbf1ad8141..000000000000
--- a/dev-libs/nspr/files/nspr-4.6.1-config.patch
+++ /dev/null
@@ -1,89 +0,0 @@
---- mozilla/nsprpub/lib/libc/src/Makefile.in.orig 2005-06-01 14:28:26.000000000 +0000
-+++ mozilla/nsprpub/lib/libc/src/Makefile.in 2006-01-15 02:50:39.000000000 +0000
-@@ -112,6 +112,10 @@
- MKSHLIB += -R '$$ORIGIN'
- endif
-
-+ifeq ($(OS_ARCH), Linux)
-+DSO_LDOPTS +=-Wl,-R,'$$ORIGIN'
-+endif
-+
- ifeq ($(OS_ARCH),OS2)
- MAPFILE = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION).def
- GARBAGE += $(MAPFILE)
---- mozilla/nsprpub/lib/ds/Makefile.in.orig 2005-06-01 14:28:25.000000000 +0000
-+++ mozilla/nsprpub/lib/ds/Makefile.in 2006-01-15 02:52:30.000000000 +0000
-@@ -102,6 +102,10 @@
- MKSHLIB += -R '$$ORIGIN'
- endif
-
-+ifeq ($(OS_ARCH), Linux)
-+DSO_LDOPTS += -Wl,-R,'$$ORIGIN'
-+endif
-+
- ifeq ($(OS_ARCH),OS2)
- MAPFILE = $(OBJDIR)/$(LIBRARY_NAME)$(LIBRARY_VERSION).def
- GARBAGE += $(MAPFILE)
---- mozilla/nsprpub/pr/src/Makefile.in.orig 2005-06-01 14:28:27.000000000 +0000
-+++ mozilla/nsprpub/pr/src/Makefile.in 2006-01-15 03:29:36.000000000 +0000
-@@ -168,6 +168,7 @@
- else
- OS_LIBS = -ldl
- endif
-+DSO_LDOPTS +=-Wl,-R,'$$ORIGIN'
- endif
-
- ifeq ($(OS_ARCH),HP-UX)
---- mozilla/nsprpub/config/Makefile.in.orig 2005-06-01 14:28:23.000000000 +0000
-+++ mozilla/nsprpub/config/Makefile.in 2006-01-15 04:13:42.000000000 +0000
-@@ -54,7 +54,7 @@
- # because it is included by every makefile.
- DIST_GARBAGE = nsprincl.mk nsprincl.sh nspr-config
-
--RELEASE_BINS = nspr-config
-+RELEASE_BINS = nspr-config nspr.pc
-
- include $(topsrcdir)/config/config.mk
-
-@@ -139,6 +139,7 @@
-
- export:: $(TARGETS)
- rm -f $(dist_bindir)/nspr-config
-+ rm -f $(dist_bindir)/nspr.pc
-
- ifdef WRAP_SYSTEM_INCLUDES
- export::
---- mozilla/nsprpub/config/nspr.pc.in.orig 1970-01-01 00:00:00.000000000 +0000
-+++ mozilla/nsprpub/config/nspr.pc.in 2006-01-15 04:12:23.000000000 +0000
-@@ -0,0 +1,10 @@
-+prefix=@prefix@
-+exec_prefix=@exec_prefix@
-+libdir=@libdir@
-+includedir=@includedir@
-+
-+Name: NSPR
-+Description: The Netscape Portable Runtime
-+Version: @MOD_MAJOR_VERSION@.@MOD_MINOR_VERSION@.@MOD_PATCH_VERSION@
-+Libs: -L${libdir} -lplds4 -lplc4 -lnspr4 @OS_LIBS@ -Wl,-R${libdir}
-+Cflags: -I${includedir}
---- mozilla/nsprpub/configure.orig 2006-01-15 04:17:59.000000000 +0000
-+++ mozilla/nsprpub/configure 2006-01-15 04:21:35.000000000 +0000
-@@ -5899,6 +5899,7 @@
- config/nsprincl.mk
- config/nsprincl.sh
- config/nspr-config
-+config/nspr.pc
- lib/Makefile
- lib/ds/Makefile
- lib/libc/Makefile
---- mozilla/nsprpub/config/nspr-config.in.orig 2005-05-11 00:53:41.000000000 +0000
-+++ mozilla/nsprpub/config/nspr-config.in 2006-01-15 06:37:58.000000000 +0000
-@@ -122,7 +122,7 @@
- fi
-
- if test "$echo_libs" = "yes"; then
-- libdirs=-L$libdir
-+ libdirs="-Wl,-R$libdir -L$libdir"
- if test -n "$lib_plds"; then
- libdirs="$libdirs -lplds${major_version}"
- fi
diff --git a/dev-libs/nspr/files/nspr-4.7.0-prtime.patch b/dev-libs/nspr/files/nspr-4.7.0-prtime.patch
deleted file mode 100644
index ac509ef23d5c..000000000000
--- a/dev-libs/nspr/files/nspr-4.7.0-prtime.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- mozilla/nsprpub/pr/src/misc/prtime.c.orig 2007-09-14 19:41:08.000000000 +0200
-+++ mozilla/nsprpub/pr/src/misc/prtime.c 2007-09-14 19:42:17.000000000 +0200
-@@ -1536,7 +1536,7 @@
- case TT_EET: zone_offset = 2 * 60; break;
- case TT_JST: zone_offset = 9 * 60; break;
- default:
-- PR_ASSERT (0);
-+ return PR_FAILURE;
- break;
- }
- }
-@@ -1578,11 +1578,12 @@
- struct tm localTime;
- time_t secs;
-
-- PR_ASSERT(result->tm_month > -1 &&
-+ if (!(result->tm_month > -1 &&
- result->tm_mday > 0 &&
- result->tm_hour > -1 &&
- result->tm_min > -1 &&
-- result->tm_sec > -1);
-+ result->tm_sec > -1))
-+ return PR_FAILURE;
-
- /*
- * To obtain time_t from a tm structure representing the local
diff --git a/dev-libs/nspr/files/nspr-4.8-pkgconfig-gentoo-2.patch b/dev-libs/nspr/files/nspr-4.8-pkgconfig-gentoo-2.patch
deleted file mode 100644
index 3309ae085feb..000000000000
--- a/dev-libs/nspr/files/nspr-4.8-pkgconfig-gentoo-2.patch
+++ /dev/null
@@ -1,126 +0,0 @@
-diff -urN nspr-4.8-orig/mozilla/nsprpub/config/config.mk nspr-4.8/mozilla/nsprpub/config/config.mk
---- nspr-4.8-orig/mozilla/nsprpub/config/config.mk 2009-09-12 00:43:47.678357452 -0500
-+++ nspr-4.8/mozilla/nsprpub/config/config.mk 2009-09-12 00:44:19.383381757 -0500
-@@ -162,3 +162,4 @@
- RELEASE_INCLUDE_DIR = $(RELEASE_DIR)/$(BUILD_NUMBER)/$(OBJDIR_NAME)/include
- RELEASE_BIN_DIR = $(RELEASE_DIR)/$(BUILD_NUMBER)/$(OBJDIR_NAME)/bin
- RELEASE_LIB_DIR = $(RELEASE_DIR)/$(BUILD_NUMBER)/$(OBJDIR_NAME)/lib
-+RELEASE_PC_DIR = $(RELEASE_LIB_DIR)/pkgconfig
-diff -urN nspr-4.8-orig/mozilla/nsprpub/config/Makefile.in nspr-4.8/mozilla/nsprpub/config/Makefile.in
---- nspr-4.8-orig/mozilla/nsprpub/config/Makefile.in 2009-09-12 00:43:47.678357452 -0500
-+++ nspr-4.8/mozilla/nsprpub/config/Makefile.in 2009-09-12 00:44:19.384379661 -0500
-@@ -52,9 +52,10 @@
-
- # autoconf.mk must be deleted last (from the top-level directory)
- # because it is included by every makefile.
--DIST_GARBAGE = nsprincl.mk nsprincl.sh nspr-config
-+DIST_GARBAGE = nsprincl.mk nsprincl.sh nspr-config nspr.pc
-
- RELEASE_BINS = nspr-config
-+RELEASE_PC = nspr.pc
-
- include $(topsrcdir)/config/config.mk
-
-diff -urN nspr-4.8-orig/mozilla/nsprpub/config/nspr-config.in nspr-4.8/mozilla/nsprpub/config/nspr-config.in
---- nspr-4.8-orig/mozilla/nsprpub/config/nspr-config.in 2009-09-12 00:43:47.677356194 -0500
-+++ nspr-4.8/mozilla/nsprpub/config/nspr-config.in 2009-09-12 00:45:53.723359547 -0500
-@@ -92,13 +92,13 @@
-
- # Set variables that may be dependent upon other variables
- if test -z "$exec_prefix"; then
-- exec_prefix=@exec_prefix@
-+ exec_prefix=`pkg-config --variable=exec_prefix nspr`
- fi
- if test -z "$includedir"; then
-- includedir=@includedir@
-+ includedir=`pkg-config --variable=includedir nspr`
- fi
- if test -z "$libdir"; then
-- libdir=@libdir@
-+ libdir=`pkg-config --variable=libdir nspr`
- fi
-
- if test "$echo_prefix" = "yes"; then
-diff -urN nspr-4.8-orig/mozilla/nsprpub/config/nspr.pc.in nspr-4.8/mozilla/nsprpub/config/nspr.pc.in
---- nspr-4.8-orig/mozilla/nsprpub/config/nspr.pc.in 1969-12-31 18:00:00.000000000 -0600
-+++ nspr-4.8/mozilla/nsprpub/config/nspr.pc.in 2009-09-12 00:44:19.410432811 -0500
-@@ -0,0 +1,11 @@
-+prefix=@prefix@
-+exec_prefix=@exec_prefix@
-+libdir=@libdir@
-+includedir=@includedir@
-+
-+Name: NSPR
-+Description: The Netscape Portable Runtime
-+Version: @MOD_MAJOR_VERSION@.@MOD_MINOR_VERSION@.@MOD_PATCH_VERSION@
-+Libs: -L${libdir} -lplds@MOD_MAJOR_VERSION@ -lplc@MOD_MAJOR_VERSION@ -lnspr@MOD_MAJOR_VERSION@ -lpthread
-+Cflags: -I${includedir}
-+
-diff -urN nspr-4.8-orig/mozilla/nsprpub/config/rules.mk nspr-4.8/mozilla/nsprpub/config/rules.mk
---- nspr-4.8-orig/mozilla/nsprpub/config/rules.mk 2009-09-12 00:43:47.677356194 -0500
-+++ nspr-4.8/mozilla/nsprpub/config/rules.mk 2009-09-12 00:44:19.435517111 -0500
-@@ -211,7 +211,7 @@
- rm -rf $(wildcard *.OBJ *.OBJD) dist $(ALL_TRASH) $(DIST_GARBAGE)
- +$(LOOP_OVER_DIRS)
-
--install:: $(RELEASE_BINS) $(RELEASE_HEADERS) $(RELEASE_LIBS)
-+install:: $(RELEASE_BINS) $(RELEASE_HEADERS) $(RELEASE_LIBS) $(RELEASE_PC)
- ifdef RELEASE_BINS
- $(NSINSTALL) -t -m 0755 $(RELEASE_BINS) $(DESTDIR)$(bindir)
- endif
-@@ -221,6 +221,9 @@
- ifdef RELEASE_LIBS
- $(NSINSTALL) -t -m 0755 $(RELEASE_LIBS) $(DESTDIR)$(libdir)/$(lib_subdir)
- endif
-+ifdef RELEASE_PC
-+ $(NSINSTALL) -t -m 0644 $(RELEASE_PC) $(DESTDIR)$(libdir)/pkgconfig/
-+endif
- +$(LOOP_OVER_DIRS)
-
- release:: export
-@@ -272,6 +275,23 @@
- fi
- cp $(RELEASE_HEADERS) $(RELEASE_HEADERS_DEST)
- endif
-+ifdef RELEASE_PC
-+ @echo "Copying pkg-config files to release directory"
-+ @if test -z "$(BUILD_NUMBER)"; then \
-+ echo "BUILD_NUMBER must be defined"; \
-+ false; \
-+ else \
-+ true; \
-+ fi
-+ @if test ! -d $(RELEASE_PC_DEST); then \
-+ rm -rf $(RELEASE_PC_DEST); \
-+ $(NSINSTALL) -D $(RELEASE_PC_DEST);\
-+ else \
-+ true; \
-+ fi
-+ cp $(RELEASE_PC) $(RELEASE_PC_DEST)
-+endif
-+
- +$(LOOP_OVER_DIRS)
-
- alltags:
-diff -urN nspr-4.8-orig/mozilla/nsprpub/configure nspr-4.8/mozilla/nsprpub/configure
---- nspr-4.8-orig/mozilla/nsprpub/configure 2009-09-12 00:43:47.600359058 -0500
-+++ nspr-4.8/mozilla/nsprpub/configure 2009-09-12 00:44:19.444380569 -0500
-@@ -6037,6 +6037,7 @@
- config/nsprincl.mk
- config/nsprincl.sh
- config/nspr-config
-+config/nspr.pc
- lib/Makefile
- lib/ds/Makefile
- lib/libc/Makefile
-diff -urN nspr-4.8-orig/mozilla/nsprpub/configure.in nspr-4.8/mozilla/nsprpub/configure.in
---- nspr-4.8-orig/mozilla/nsprpub/configure.in 2009-09-12 00:43:47.678357452 -0500
-+++ nspr-4.8/mozilla/nsprpub/configure.in 2009-09-12 00:44:19.451396074 -0500
-@@ -2871,6 +2871,7 @@
- config/nsprincl.mk
- config/nsprincl.sh
- config/nspr-config
-+config/nspr.pc
- lib/Makefile
- lib/ds/Makefile
- lib/libc/Makefile
diff --git a/dev-libs/nspr/files/nspr-4.8-pkgconfig-gentoo-3.patch b/dev-libs/nspr/files/nspr-4.8-pkgconfig-gentoo-3.patch
deleted file mode 100644
index 2525928db4ff..000000000000
--- a/dev-libs/nspr/files/nspr-4.8-pkgconfig-gentoo-3.patch
+++ /dev/null
@@ -1,126 +0,0 @@
-diff -urN nspr-4.8-orig/mozilla/nsprpub/config/config.mk nspr-4.8/mozilla/nsprpub/config/config.mk
---- nspr-4.8-orig/mozilla/nsprpub/config/config.mk 2009-09-12 00:43:47.678357452 -0500
-+++ nspr-4.8/mozilla/nsprpub/config/config.mk 2009-09-12 00:44:19.383381757 -0500
-@@ -162,3 +162,4 @@
- RELEASE_INCLUDE_DIR = $(RELEASE_DIR)/$(BUILD_NUMBER)/$(OBJDIR_NAME)/include
- RELEASE_BIN_DIR = $(RELEASE_DIR)/$(BUILD_NUMBER)/$(OBJDIR_NAME)/bin
- RELEASE_LIB_DIR = $(RELEASE_DIR)/$(BUILD_NUMBER)/$(OBJDIR_NAME)/lib
-+RELEASE_PC_DIR = $(RELEASE_LIB_DIR)/pkgconfig
-diff -urN nspr-4.8-orig/mozilla/nsprpub/config/Makefile.in nspr-4.8/mozilla/nsprpub/config/Makefile.in
---- nspr-4.8-orig/mozilla/nsprpub/config/Makefile.in 2009-09-12 00:43:47.678357452 -0500
-+++ nspr-4.8/mozilla/nsprpub/config/Makefile.in 2009-09-12 00:44:19.384379661 -0500
-@@ -52,9 +52,10 @@
-
- # autoconf.mk must be deleted last (from the top-level directory)
- # because it is included by every makefile.
--DIST_GARBAGE = nsprincl.mk nsprincl.sh nspr-config
-+DIST_GARBAGE = nsprincl.mk nsprincl.sh nspr-config nspr.pc
-
- RELEASE_BINS = nspr-config
-+RELEASE_PC = nspr.pc
-
- include $(topsrcdir)/config/config.mk
-
-diff -urN nspr-4.8-orig/mozilla/nsprpub/config/nspr-config.in nspr-4.8/mozilla/nsprpub/config/nspr-config.in
---- nspr-4.8-orig/mozilla/nsprpub/config/nspr-config.in 2009-09-12 00:43:47.677356194 -0500
-+++ nspr-4.8/mozilla/nsprpub/config/nspr-config.in 2009-09-12 00:45:53.723359547 -0500
-@@ -92,13 +92,13 @@
-
- # Set variables that may be dependent upon other variables
- if test -z "$exec_prefix"; then
-- exec_prefix=@exec_prefix@
-+ exec_prefix=`pkg-config --variable=exec_prefix nspr`
- fi
- if test -z "$includedir"; then
-- includedir=@includedir@
-+ includedir=`pkg-config --variable=includedir nspr`
- fi
- if test -z "$libdir"; then
-- libdir=@libdir@
-+ libdir=`pkg-config --variable=libdir nspr`
- fi
-
- if test "$echo_prefix" = "yes"; then
-diff -urN nspr-4.8-orig/mozilla/nsprpub/config/nspr.pc.in nspr-4.8/mozilla/nsprpub/config/nspr.pc.in
---- nspr-4.8-orig/mozilla/nsprpub/config/nspr.pc.in 1969-12-31 18:00:00.000000000 -0600
-+++ nspr-4.8/mozilla/nsprpub/config/nspr.pc.in 2009-09-12 00:44:19.410432811 -0500
-@@ -0,0 +1,11 @@
-+prefix=@prefix@
-+exec_prefix=@exec_prefix@
-+libdir=@libdir@
-+includedir=@includedir@
-+
-+Name: NSPR
-+Description: The Netscape Portable Runtime
-+Version: @MOD_MAJOR_VERSION@.@MOD_MINOR_VERSION@.@MOD_PATCH_VERSION@
-+Libs: -L${libdir} -lplds@MOD_MAJOR_VERSION@ -lplc@MOD_MAJOR_VERSION@ -lnspr@MOD_MAJOR_VERSION@ -lpthread -Wl,-R${libdir}
-+Cflags: -I${includedir}
-+
-diff -urN nspr-4.8-orig/mozilla/nsprpub/config/rules.mk nspr-4.8/mozilla/nsprpub/config/rules.mk
---- nspr-4.8-orig/mozilla/nsprpub/config/rules.mk 2009-09-12 00:43:47.677356194 -0500
-+++ nspr-4.8/mozilla/nsprpub/config/rules.mk 2009-09-12 00:44:19.435517111 -0500
-@@ -211,7 +211,7 @@
- rm -rf $(wildcard *.OBJ *.OBJD) dist $(ALL_TRASH) $(DIST_GARBAGE)
- +$(LOOP_OVER_DIRS)
-
--install:: $(RELEASE_BINS) $(RELEASE_HEADERS) $(RELEASE_LIBS)
-+install:: $(RELEASE_BINS) $(RELEASE_HEADERS) $(RELEASE_LIBS) $(RELEASE_PC)
- ifdef RELEASE_BINS
- $(NSINSTALL) -t -m 0755 $(RELEASE_BINS) $(DESTDIR)$(bindir)
- endif
-@@ -221,6 +221,9 @@
- ifdef RELEASE_LIBS
- $(NSINSTALL) -t -m 0755 $(RELEASE_LIBS) $(DESTDIR)$(libdir)/$(lib_subdir)
- endif
-+ifdef RELEASE_PC
-+ $(NSINSTALL) -t -m 0644 $(RELEASE_PC) $(DESTDIR)$(libdir)/pkgconfig/
-+endif
- +$(LOOP_OVER_DIRS)
-
- release:: export
-@@ -272,6 +275,23 @@
- fi
- cp $(RELEASE_HEADERS) $(RELEASE_HEADERS_DEST)
- endif
-+ifdef RELEASE_PC
-+ @echo "Copying pkg-config files to release directory"
-+ @if test -z "$(BUILD_NUMBER)"; then \
-+ echo "BUILD_NUMBER must be defined"; \
-+ false; \
-+ else \
-+ true; \
-+ fi
-+ @if test ! -d $(RELEASE_PC_DEST); then \
-+ rm -rf $(RELEASE_PC_DEST); \
-+ $(NSINSTALL) -D $(RELEASE_PC_DEST);\
-+ else \
-+ true; \
-+ fi
-+ cp $(RELEASE_PC) $(RELEASE_PC_DEST)
-+endif
-+
- +$(LOOP_OVER_DIRS)
-
- alltags:
-diff -urN nspr-4.8-orig/mozilla/nsprpub/configure nspr-4.8/mozilla/nsprpub/configure
---- nspr-4.8-orig/mozilla/nsprpub/configure 2009-09-12 00:43:47.600359058 -0500
-+++ nspr-4.8/mozilla/nsprpub/configure 2009-09-12 00:44:19.444380569 -0500
-@@ -6037,6 +6037,7 @@
- config/nsprincl.mk
- config/nsprincl.sh
- config/nspr-config
-+config/nspr.pc
- lib/Makefile
- lib/ds/Makefile
- lib/libc/Makefile
-diff -urN nspr-4.8-orig/mozilla/nsprpub/configure.in nspr-4.8/mozilla/nsprpub/configure.in
---- nspr-4.8-orig/mozilla/nsprpub/configure.in 2009-09-12 00:43:47.678357452 -0500
-+++ nspr-4.8/mozilla/nsprpub/configure.in 2009-09-12 00:44:19.451396074 -0500
-@@ -2871,6 +2871,7 @@
- config/nsprincl.mk
- config/nsprincl.sh
- config/nspr-config
-+config/nspr.pc
- lib/Makefile
- lib/ds/Makefile
- lib/libc/Makefile
diff --git a/dev-libs/nspr/files/nspr-4.8.3-aix-soname.patch b/dev-libs/nspr/files/nspr-4.8.3-aix-soname.patch
deleted file mode 100644
index 667e699c202e..000000000000
--- a/dev-libs/nspr/files/nspr-4.8.3-aix-soname.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-NSPR does not set the soname on any platform yet:
-https://bugzilla.mozilla.org/show_bug.cgi?id=452873
-
-Supporting something like "soname" on AIX is tricky:
-http://bugs.gentoo.org/show_bug.cgi?id=213277
-
---- mozilla/nsprpub/config/rules.mk.orig 2010-02-23 15:55:00 +0100
-+++ mozilla/nsprpub/config/rules.mk 2010-02-23 16:04:31 +0100
-@@ -132,14 +132,17 @@
- else
- ifdef MKSHLIB
- SHARED_LIBRARY = $(OBJDIR)/lib$(LIBRARY_NAME)$(LIBRARY_VERSION).$(DLL_SUFFIX)
-+ifeq ($(OS_ARCH), AIX)
-+IMPORT_LIBRARY = $(OBJDIR)/lib$(LIBRARY_NAME).$(DLL_SUFFIX)
-+endif
- endif
- endif
-
- endif
- endif
-
- ifndef TARGETS
--ifeq (,$(filter-out WINNT WINCE OS2,$(OS_ARCH)))
-+ifeq (,$(filter-out WINNT WINCE OS2 AIX,$(OS_ARCH)))
- TARGETS = $(LIBRARY) $(SHARED_LIBRARY) $(IMPORT_LIBRARY)
- ifndef BUILD_OPT
- ifdef MSC_VER
-@@ -327,6 +330,15 @@
- else
- ifeq (,$(filter-out WIN95 WINCE,$(OS_TARGET)))
- $(IMPORT_LIBRARY): $(SHARED_LIBRARY)
-+else
-+ifdef IMPORT_LIBRARY
-+$(IMPORT_LIBRARY): $(SHARED_LIBRARY)
-+ ( echo '#! $(notdir $(SHARED_LIBRARY))' \
-+ ; dump -Tv $(SHARED_LIBRARY) \
-+ | awk '{ if ($$4 == "EXP" && $$6 != "SECdef") { print $$8 } }' \
-+ | sort -u \
-+ ) > $@
-+endif
- endif
- endif
-
diff --git a/dev-libs/nspr/files/nspr-4.9.1-x32_v0.2.patch b/dev-libs/nspr/files/nspr-4.9.1-x32_v0.2.patch
deleted file mode 100644
index 68801418367a..000000000000
--- a/dev-libs/nspr/files/nspr-4.9.1-x32_v0.2.patch
+++ /dev/null
@@ -1,91 +0,0 @@
-# HG changeset patch
-# Parent 6b1ef31834235cde5153f91a7443b29398b541d9
-# User Jory A. Pratt <anarchy@gentoo.org>
-Add initial support for x32 abi
-
-diff --git a/mozilla/nsprpub/pr/include/md/_linux.cfg b/mozilla/nsprpub/pr/include/md/_linux.cfg
---- a/mozilla/nsprpub/pr/include/md/_linux.cfg
-+++ b/mozilla/nsprpub/pr/include/md/_linux.cfg
-@@ -207,16 +207,63 @@
- #define PR_ALIGN_OF_POINTER 8
- #define PR_ALIGN_OF_WORD 8
-
- #define PR_BYTES_PER_WORD_LOG2 3
- #define PR_BYTES_PER_DWORD_LOG2 3
-
- #elif defined(__x86_64__)
-
-+#ifdef __ILP32__
-+
-+#define IS_LITTLE_ENDIAN 1
-+#undef IS_BIG_ENDIAN
-+
-+#define PR_BYTES_PER_BYTE 1
-+#define PR_BYTES_PER_SHORT 2
-+#define PR_BYTES_PER_INT 4
-+#define PR_BYTES_PER_INT64 8
-+#define PR_BYTES_PER_LONG 4
-+#define PR_BYTES_PER_FLOAT 4
-+#define PR_BYTES_PER_DOUBLE 8
-+#define PR_BYTES_PER_WORD 4
-+#define PR_BYTES_PER_DWORD 8
-+
-+#define PR_BITS_PER_BYTE 8
-+#define PR_BITS_PER_SHORT 16
-+#define PR_BITS_PER_INT 32
-+#define PR_BITS_PER_INT64 64
-+#define PR_BITS_PER_LONG 32
-+#define PR_BITS_PER_FLOAT 32
-+#define PR_BITS_PER_DOUBLE 64
-+#define PR_BITS_PER_WORD 32
-+
-+#define PR_BITS_PER_BYTE_LOG2 3
-+#define PR_BITS_PER_SHORT_LOG2 4
-+#define PR_BITS_PER_INT_LOG2 5
-+#define PR_BITS_PER_INT64_LOG2 6
-+#define PR_BITS_PER_LONG_LOG2 5
-+#define PR_BITS_PER_FLOAT_LOG2 5
-+#define PR_BITS_PER_DOUBLE_LOG2 6
-+#define PR_BITS_PER_WORD_LOG2 5
-+
-+#define PR_ALIGN_OF_SHORT 2
-+#define PR_ALIGN_OF_INT 4
-+#define PR_ALIGN_OF_LONG 4
-+#define PR_ALIGN_OF_INT64 4
-+#define PR_ALIGN_OF_FLOAT 4
-+#define PR_ALIGN_OF_DOUBLE 4
-+#define PR_ALIGN_OF_POINTER 4
-+#define PR_ALIGN_OF_WORD 4
-+
-+#define PR_BYTES_PER_WORD_LOG2 2
-+#define PR_BYTES_PER_DWORD_LOG2 3
-+
-+#else
-+
- #define IS_LITTLE_ENDIAN 1
- #undef IS_BIG_ENDIAN
- #define IS_64
-
- #define PR_BYTES_PER_BYTE 1
- #define PR_BYTES_PER_SHORT 2
- #define PR_BYTES_PER_INT 4
- #define PR_BYTES_PER_INT64 8
-@@ -251,16 +298,18 @@
- #define PR_ALIGN_OF_FLOAT 4
- #define PR_ALIGN_OF_DOUBLE 8
- #define PR_ALIGN_OF_POINTER 8
- #define PR_ALIGN_OF_WORD 8
-
- #define PR_BYTES_PER_WORD_LOG2 3
- #define PR_BYTES_PER_DWORD_LOG2 3
-
-+#endif
-+
- #elif defined(__mc68000__)
-
- #undef IS_LITTLE_ENDIAN
- #define IS_BIG_ENDIAN 1
-
- #define PR_BYTES_PER_BYTE 1
- #define PR_BYTES_PER_SHORT 2
- #define PR_BYTES_PER_INT 4
diff --git a/dev-libs/nspr/nspr-4.8.8.ebuild b/dev-libs/nspr/nspr-4.8.8.ebuild
deleted file mode 100644
index de1de71bdd92..000000000000
--- a/dev-libs/nspr/nspr-4.8.8.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.8.8.ebuild,v 1.5 2011/09/04 10:13:30 maekke Exp $
-
-EAPI=3
-
-inherit eutils multilib toolchain-funcs versionator
-
-MIN_PV="$(get_version_component_range 2)"
-
-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 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="debug"
-
-src_prepare() {
- mkdir build inst
- epatch "${FILESDIR}"/${PN}-4.8-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
- epatch "${FILESDIR}"/${PN}-4.8-pkgconfig-gentoo-3.patch
- epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
- # Patch needs updating
- #epatch "${FILESDIR}"/${PN}-4.8.3-aix-soname.patch
- epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
- # make sure it won't find Perl out of Prefix
- sed -i -e "s/perl5//g" mozilla/nsprpub/configure || die
-
- # Respect LDFLAGS
- sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
- mozilla/nsprpub/config/rules.mk
-}
-
-src_configure() {
- cd "${S}"/build
-
- echo > "${T}"/test.c
- $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o
- case $(scanelf -BF'%M' "${T}"/test.o)$(scanmacho -BF'%M' "${T}"/test.o) in
- ELFCLASS64*|POWERPC64*|X86_64*) myconf="${myconf} --enable-64bit";;
- ELFCLASS32*|POWERPC*|I386*|ARM*) ;;
- *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
- esac
-
- myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)"
-
- ECONF_SOURCE="../mozilla/nsprpub" econf \
- $(use_enable debug) \
- $(use_enable !debug optimize) \
- ${myconf} || die "econf failed"
-}
-
-src_compile() {
- cd "${S}"/build
- emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "failed to build"
-}
-
-src_install () {
- # Their build system is royally confusing, as usual
- MINOR_VERSION=${MIN_PV} # Used for .so version
- cd "${S}"/build
- emake DESTDIR="${D}" install || die "emake install failed"
-
- cd "${ED}"/usr/$(get_libdir)
- for file in *.a; do
- einfo "removing static libraries as upstream has requested!"
- rm -f ${file} || die "failed to remove static libraries."
- done
-
- local n=
- # aix-soname.patch does this already
- [[ ${CHOST} == *-aix* ]] ||
- for file in *$(get_libname); do
- n=${file%$(get_libname)}$(get_libname ${MINOR_VERSION})
- mv ${file} ${n} || die "failed to mv files around"
- ln -s ${n} ${file} || die "failed to symlink files."
- if [[ ${CHOST} == *-darwin* ]]; then
- install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${n}" ${n} || die
- fi
- done
-
- # install 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 || die "failed to insall nspr pkg-config file"
-
- # Remove stupid files in /usr/bin
- rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
-}
-
-pkg_postinst() {
- ewarn
- ewarn "Please make sure you run revdep-rebuild after upgrade."
- ewarn "This is *extremely* important to ensure your system nspr works properly."
- ewarn
-}
diff --git a/dev-libs/nspr/nspr-4.8.9.ebuild b/dev-libs/nspr/nspr-4.8.9.ebuild
deleted file mode 100644
index 98e879122ffb..000000000000
--- a/dev-libs/nspr/nspr-4.8.9.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.8.9.ebuild,v 1.9 2011/11/25 17:25:27 xarthisius Exp $
-
-EAPI=3
-
-inherit eutils multilib toolchain-funcs versionator
-
-MIN_PV="$(get_version_component_range 2)"
-
-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 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-IUSE="debug"
-
-src_prepare() {
- mkdir build inst
- epatch "${FILESDIR}"/${PN}-4.8-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
- epatch "${FILESDIR}"/${PN}-4.8-pkgconfig-gentoo-3.patch
- epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
- # Patch needs updating
- #epatch "${FILESDIR}"/${PN}-4.8.3-aix-soname.patch
- epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
- # make sure it won't find Perl out of Prefix
- sed -i -e "s/perl5//g" mozilla/nsprpub/configure || die
-
- # Respect LDFLAGS
- sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
- mozilla/nsprpub/config/rules.mk
-
- if [[ ${CHOST} == *-darwin* ]] ; then
- # Fix pkgconfig for Darwin (no RPATH stuff)
- sed -i -e 's/-Wl,-R${\?libdir}\?//' \
- "${S}"/mozilla/nsprpub/config/nspr-config.in \
- "${S}"/mozilla/nsprpub/config/nspr.pc.in || die
- fi
-}
-
-src_configure() {
- cd "${S}"/build
-
- echo > "${T}"/test.c
- $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o
- case $(scanelf -BF'%M' "${T}"/test.o)$(scanmacho -BF'%M' "${T}"/test.o) in
- ELFCLASS64*|POWERPC64*|X86_64*) myconf="${myconf} --enable-64bit";;
- ELFCLASS32*|POWERPC*|I386*|ARM*) ;;
- *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
- esac
-
- myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)"
-
- ECONF_SOURCE="../mozilla/nsprpub" econf \
- $(use_enable debug) \
- $(use_enable !debug optimize) \
- ${myconf} || die "econf failed"
-}
-
-src_compile() {
- cd "${S}"/build
- emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "failed to build"
-}
-
-src_install () {
- # Their build system is royally confusing, as usual
- MINOR_VERSION=${MIN_PV} # Used for .so version
- cd "${S}"/build
- emake DESTDIR="${D}" install || die "emake install failed"
-
- cd "${ED}"/usr/$(get_libdir)
- for file in *.a; do
- einfo "removing static libraries as upstream has requested!"
- rm -f ${file} || die "failed to remove static libraries."
- done
-
- local n=
- # aix-soname.patch does this already
- [[ ${CHOST} == *-aix* ]] ||
- for file in *$(get_libname); do
- n=${file%$(get_libname)}$(get_libname ${MINOR_VERSION})
- mv ${file} ${n} || die "failed to mv files around"
- ln -s ${n} ${file} || die "failed to symlink files."
- if [[ ${CHOST} == *-darwin* ]]; then
- install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${n}" ${n} || die
- fi
- done
-
- # install 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 || die "failed to insall nspr pkg-config file"
-
- # Remove stupid files in /usr/bin
- rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
-}
-
-pkg_postinst() {
- ewarn
- ewarn "Please make sure you run revdep-rebuild after upgrade."
- ewarn "This is *extremely* important to ensure your system nspr works properly."
- ewarn
-}
diff --git a/dev-libs/nspr/nspr-4.9.1.ebuild b/dev-libs/nspr/nspr-4.9.1.ebuild
deleted file mode 100644
index ddfeaee8750e..000000000000
--- a/dev-libs/nspr/nspr-4.9.1.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.9.1.ebuild,v 1.8 2013/01/16 21:09:30 polynomial-c Exp $
-
-EAPI=3
-WANT_AUTOCONF="2.1"
-
-inherit autotools eutils multilib toolchain-funcs versionator
-
-MIN_PV="$(get_version_component_range 2)"
-
-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-2.0 GPL-2 LGPL-2.1 )"
-SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ~mips ppc ~ppc64 ~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() {
- mkdir build inst
- epatch "${FILESDIR}"/${PN}-4.8-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
- epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
- # Patch needs updating
- #epatch "${FILESDIR}"/${PN}-4.8.3-aix-soname.patch
- epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
- epatch "${FILESDIR}"/${PN}-4.8.9-link-flags.patch
-
- # We must run eautoconf to regenerate configure
- cd "${S}"/mozilla/nsprpub
- eautoconf
-
- # make sure it won't find Perl out of Prefix
- sed -i -e "s/perl5//g" "${S}"/mozilla/nsprpub/configure || die
-
- # Respect LDFLAGS
- sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
- "${S}"/mozilla/nsprpub/config/rules.mk || die
-}
-
-src_configure() {
- cd "${S}"/build
-
- echo > "${T}"/test.c
- $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o
- case $(scanelf -BF'%M' "${T}"/test.o)$(scanmacho -BF'%M' "${T}"/test.o) in
- ELFCLASS64*|POWERPC64*|X86_64*) myconf="${myconf} --enable-64bit";;
- ELFCLASS32*|POWERPC*|I386*|ARM*) ;;
- *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
- esac
-
- myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)"
-
- LC_ALL="C" ECONF_SOURCE="../mozilla/nsprpub" econf \
- $(use_enable debug) \
- $(use_enable !debug optimize) \
- ${myconf} || die "econf failed"
-}
-
-src_compile() {
- cd "${S}"/build
- if tc-is-cross-compiler; then
- emake CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" \
- -C config nsinstall || die "failed to build"
- mv config/{,native-}nsinstall
- sed -s 's#/nsinstall$#/native-nsinstall#' -i config/autoconf.mk
- rm config/nsinstall.o
- fi
- emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "failed to build"
-}
-
-src_install () {
- # Their build system is royally confusing, as usual
- MINOR_VERSION=${MIN_PV} # Used for .so version
- cd "${S}"/build
- emake DESTDIR="${D}" install || die "emake install failed"
-
- cd "${ED}"/usr/$(get_libdir)
- for file in *.a; do
- einfo "removing static libraries as upstream has requested!"
- rm -f ${file} || die "failed to remove static libraries."
- done
-
- local n=
- # aix-soname.patch does this already
- [[ ${CHOST} == *-aix* ]] ||
- for file in *$(get_libname); do
- n=${file%$(get_libname)}$(get_libname ${MINOR_VERSION})
- mv ${file} ${n} || die "failed to mv files around"
- ln -s ${n} ${file} || die "failed to symlink files."
- if [[ ${CHOST} == *-darwin* ]]; then
- install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${n}" ${n} || die
- fi
- done
-
- # install nspr-config
- dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config"
-
- # Remove stupid files in /usr/bin
- rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
-}
diff --git a/dev-libs/nspr/nspr-4.9.2-r1.ebuild b/dev-libs/nspr/nspr-4.9.2-r1.ebuild
deleted file mode 100644
index 361c9eb90c34..000000000000
--- a/dev-libs/nspr/nspr-4.9.2-r1.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.9.2-r1.ebuild,v 1.3 2013/01/16 21:09:30 polynomial-c Exp $
-
-EAPI=3
-WANT_AUTOCONF="2.1"
-
-inherit autotools eutils multilib toolchain-funcs versionator
-
-MIN_PV="$(get_version_component_range 2)"
-
-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-2.0 GPL-2 LGPL-2.1 )"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~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() {
- mkdir build inst
- epatch "${FILESDIR}"/${PN}-4.8-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
- epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
- # Patch needs updating
- #epatch "${FILESDIR}"/${PN}-4.8.3-aix-soname.patch
- epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
- epatch "${FILESDIR}"/${PN}-4.8.9-link-flags.patch
- epatch "${FILESDIR}"/${PN}-4.9.1-x32_v0.2.patch
-
- # We must run eautoconf to regenerate configure
- cd "${S}"/mozilla/nsprpub
- eautoconf
-
- # make sure it won't find Perl out of Prefix
- sed -i -e "s/perl5//g" "${S}"/mozilla/nsprpub/configure || die
-
- # Respect LDFLAGS
- sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
- "${S}"/mozilla/nsprpub/config/rules.mk || die
-}
-
-src_configure() {
- cd "${S}"/build
-
- echo > "${T}"/test.c
- $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o
- case $(file "${T}"/test.o) in
- *32-bit*x86-64*|*64-bit*|*ppc64*|*x86_64*) myconf="${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
- myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)"
-
- LC_ALL="C" ECONF_SOURCE="../mozilla/nsprpub" econf \
- $(use_enable debug) \
- $(use_enable !debug optimize) \
- ${myconf} || die "econf failed"
-}
-
-src_compile() {
- cd "${S}"/build
- if tc-is-cross-compiler; then
- emake CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" \
- AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" \
- -C config nsinstall || die "failed to build"
- mv config/{,native-}nsinstall
- sed -s 's#/nsinstall$#/native-nsinstall#' -i config/autoconf.mk
- rm config/nsinstall.o
- fi
- emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" \
- AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" || die "failed to build"
-}
-
-src_install () {
- # Their build system is royally confusing, as usual
- MINOR_VERSION=${MIN_PV} # Used for .so version
- cd "${S}"/build
- emake DESTDIR="${D}" install || die "emake install failed"
-
- cd "${ED}"/usr/$(get_libdir)
- for file in *.a; do
- einfo "removing static libraries as upstream has requested!"
- rm -f ${file} || die "failed to remove static libraries."
- done
-
- local n=
- # aix-soname.patch does this already
- [[ ${CHOST} == *-aix* ]] ||
- for file in *$(get_libname); do
- n=${file%$(get_libname)}$(get_libname ${MINOR_VERSION})
- mv ${file} ${n} || die "failed to mv files around"
- ln -s ${n} ${file} || die "failed to symlink files."
- if [[ ${CHOST} == *-darwin* ]]; then
- install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${n}" ${n} || die
- fi
- done
-
- # install nspr-config
- dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config"
-
- # Remove stupid files in /usr/bin
- rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
-}
diff --git a/dev-libs/nspr/nspr-4.9.2.ebuild b/dev-libs/nspr/nspr-4.9.2.ebuild
deleted file mode 100644
index 1e5c44948cc6..000000000000
--- a/dev-libs/nspr/nspr-4.9.2.ebuild
+++ /dev/null
@@ -1,107 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.9.2.ebuild,v 1.10 2013/01/16 21:09:30 polynomial-c Exp $
-
-EAPI=3
-WANT_AUTOCONF="2.1"
-
-inherit autotools eutils multilib toolchain-funcs versionator
-
-MIN_PV="$(get_version_component_range 2)"
-
-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-2.0 GPL-2 LGPL-2.1 )"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~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() {
- mkdir build inst
- epatch "${FILESDIR}"/${PN}-4.8-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
- epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
- # Patch needs updating
- #epatch "${FILESDIR}"/${PN}-4.8.3-aix-soname.patch
- epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
- epatch "${FILESDIR}"/${PN}-4.8.9-link-flags.patch
- epatch "${FILESDIR}"/${PN}-4.9.1-x32_v0.2.patch
-
- # We must run eautoconf to regenerate configure
- cd "${S}"/mozilla/nsprpub
- eautoconf
-
- # make sure it won't find Perl out of Prefix
- sed -i -e "s/perl5//g" "${S}"/mozilla/nsprpub/configure || die
-
- # Respect LDFLAGS
- sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
- "${S}"/mozilla/nsprpub/config/rules.mk || die
-}
-
-src_configure() {
- cd "${S}"/build
-
- echo > "${T}"/test.c
- $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o
- case $(file "${T}"/test.o) in
- *32-bit*x86-64*|*64-bit*|*ppc64*|*x86_64*) myconf="${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
- myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)"
-
- LC_ALL="C" ECONF_SOURCE="../mozilla/nsprpub" econf \
- $(use_enable debug) \
- $(use_enable !debug optimize) \
- ${myconf} || die "econf failed"
-}
-
-src_compile() {
- cd "${S}"/build
- if tc-is-cross-compiler; then
- emake CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" \
- -C config nsinstall || die "failed to build"
- mv config/{,native-}nsinstall
- sed -s 's#/nsinstall$#/native-nsinstall#' -i config/autoconf.mk
- rm config/nsinstall.o
- fi
- emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "failed to build"
-}
-
-src_install () {
- # Their build system is royally confusing, as usual
- MINOR_VERSION=${MIN_PV} # Used for .so version
- cd "${S}"/build
- emake DESTDIR="${D}" install || die "emake install failed"
-
- cd "${ED}"/usr/$(get_libdir)
- for file in *.a; do
- einfo "removing static libraries as upstream has requested!"
- rm -f ${file} || die "failed to remove static libraries."
- done
-
- local n=
- # aix-soname.patch does this already
- [[ ${CHOST} == *-aix* ]] ||
- for file in *$(get_libname); do
- n=${file%$(get_libname)}$(get_libname ${MINOR_VERSION})
- mv ${file} ${n} || die "failed to mv files around"
- ln -s ${n} ${file} || die "failed to symlink files."
- if [[ ${CHOST} == *-darwin* ]]; then
- install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${n}" ${n} || die
- fi
- done
-
- # install nspr-config
- dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config"
-
- # Remove stupid files in /usr/bin
- rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
-}
diff --git a/dev-libs/nspr/nspr-4.9.4.ebuild b/dev-libs/nspr/nspr-4.9.4.ebuild
deleted file mode 100644
index e0876fb161b3..000000000000
--- a/dev-libs/nspr/nspr-4.9.4.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.9.4.ebuild,v 1.13 2013/02/08 14:47:21 ago Exp $
-
-EAPI=3
-WANT_AUTOCONF="2.1"
-
-inherit autotools eutils multilib toolchain-funcs versionator
-
-MIN_PV="$(get_version_component_range 2)"
-
-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-2.0 GPL-2 LGPL-2.1 )"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm hppa ~ia64 ~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() {
- mkdir build inst
- epatch "${FILESDIR}"/${PN}-4.8-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
- epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
- # Patch needs updating
- #epatch "${FILESDIR}"/${PN}-4.8.3-aix-soname.patch
- epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
- epatch "${FILESDIR}"/${PN}-4.8.9-link-flags.patch
-
- # We must run eautoconf to regenerate configure
- cd "${S}"/mozilla/nsprpub
- eautoconf
-
- # make sure it won't find Perl out of Prefix
- sed -i -e "s/perl5//g" "${S}"/mozilla/nsprpub/configure || die
-
- # Respect LDFLAGS
- sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
- "${S}"/mozilla/nsprpub/config/rules.mk || die
-}
-
-src_configure() {
- cd "${S}"/build
-
- # We use the standard BUILD_xxx but nspr uses HOST_xxx
- tc-export_build_env BUILD_CC
- export HOST_CC=${BUILD_CC} HOST_CFLAGS=${BUILD_CFLAGS} HOST_LDFLAGS=${BUILD_LDFLAGS}
- tc-export AR CC CXX RANLIB
- [[ ${CBUILD} != ${CHOST} ]] \
- && export CROSS_COMPILE=1 \
- || unset CROSS_COMPILE
-
- local myconf
- 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="../mozilla/nsprpub" \
- ac_cv_path_AR="${AR}" \
- econf \
- --libdir="${EPREFIX}/usr/$(get_libdir)" \
- $(use_enable debug) \
- $(use_enable !debug optimize) \
- ${myconf}
-}
-
-src_compile() {
- cd "${S}"/build
- emake || die "failed to build"
-}
-
-src_install () {
- # Their build system is royally confusing, as usual
- MINOR_VERSION=${MIN_PV} # Used for .so version
- cd "${S}"/build
- emake DESTDIR="${D}" install || die "emake install failed"
-
- cd "${ED}"/usr/$(get_libdir)
- einfo "removing static libraries as upstream has requested!"
- rm -f *.a || die "failed to remove static libraries."
-
- local n=
- # aix-soname.patch does this already
- [[ ${CHOST} == *-aix* ]] ||
- for file in *$(get_libname); do
- n=${file%$(get_libname)}$(get_libname ${MINOR_VERSION})
- mv ${file} ${n} || die "failed to mv files around"
- ln -s ${n} ${file} || die "failed to symlink files."
- if [[ ${CHOST} == *-darwin* ]]; then
- install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${n}" ${n} || die
- fi
- done
-
- # install nspr-config
- dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config"
-
- # Remove stupid files in /usr/bin
- rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
-}
diff --git a/dev-libs/nspr/nspr-4.9.5-r1.ebuild b/dev-libs/nspr/nspr-4.9.5-r1.ebuild
deleted file mode 100644
index a5b95299da7b..000000000000
--- a/dev-libs/nspr/nspr-4.9.5-r1.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.9.5-r1.ebuild,v 1.1 2013/03/12 01:53:37 anarchy Exp $
-
-EAPI=3
-WANT_AUTOCONF="2.1"
-
-inherit autotools eutils multilib toolchain-funcs versionator
-
-MIN_PV="$(get_version_component_range 2)"
-
-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-2.0 GPL-2 LGPL-2.1 )"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~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() {
- mkdir build inst
- epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch
- epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch
- epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
- # Patch needs updating
- #epatch "${FILESDIR}"/${PN}-4.8.3-aix-soname.patch
- epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
- epatch "${FILESDIR}"/${PN}-4.8.9-link-flags.patch
- # We do not need to pass -L$libdir via nspr-config --libs
- epatch "${FILESDIR}"/${PN}-4.9.5_nspr_config.patch
-
- # We must run eautoconf to regenerate configure
- cd "${S}"/mozilla/nsprpub
- eautoconf
-
- # make sure it won't find Perl out of Prefix
- sed -i -e "s/perl5//g" "${S}"/mozilla/nsprpub/configure || die
-
- # Respect LDFLAGS
- sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
- "${S}"/mozilla/nsprpub/config/rules.mk || die
-}
-
-src_configure() {
- cd "${S}"/build
-
- # We use the standard BUILD_xxx but nspr uses HOST_xxx
- tc-export_build_env BUILD_CC
- export HOST_CC=${BUILD_CC} HOST_CFLAGS=${BUILD_CFLAGS} HOST_LDFLAGS=${BUILD_LDFLAGS}
- tc-export AR CC CXX RANLIB
- [[ ${CBUILD} != ${CHOST} ]] \
- && export CROSS_COMPILE=1 \
- || unset CROSS_COMPILE
-
- local myconf
- 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="../mozilla/nsprpub" \
- ac_cv_path_AR="${AR}" \
- econf \
- --libdir="${EPREFIX}/usr/$(get_libdir)" \
- $(use_enable debug) \
- $(use_enable !debug optimize) \
- ${myconf}
-}
-
-src_compile() {
- cd "${S}"/build
- emake || die "failed to build"
-}
-
-src_install() {
- # Their build system is royally confusing, as usual
- MINOR_VERSION=${MIN_PV} # Used for .so version
- cd "${S}"/build
- emake DESTDIR="${D}" install || die "emake install failed"
-
- cd "${ED}"/usr/$(get_libdir)
- einfo "removing static libraries as upstream has requested!"
- rm -f *.a || die "failed to remove static libraries."
-
- local n=
- # aix-soname.patch does this already
- [[ ${CHOST} == *-aix* ]] ||
- for file in *$(get_libname); do
- n=${file%$(get_libname)}$(get_libname ${MINOR_VERSION})
- mv ${file} ${n} || die "failed to mv files around"
- ln -s ${n} ${file} || die "failed to symlink files."
- if [[ ${CHOST} == *-darwin* ]]; then
- install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${n}" ${n} || die
- fi
- done
-
- # install nspr-config
- dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config"
-
- # Remove stupid files in /usr/bin
- rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
-}
diff --git a/dev-libs/nspr/nspr-4.9.5-r2.ebuild b/dev-libs/nspr/nspr-4.9.5-r2.ebuild
deleted file mode 100644
index b9b534fafbcc..000000000000
--- a/dev-libs/nspr/nspr-4.9.5-r2.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.9.5-r2.ebuild,v 1.1 2013/03/12 15:16:23 vapier Exp $
-
-EAPI=3
-WANT_AUTOCONF="2.1"
-
-inherit autotools eutils multilib toolchain-funcs versionator
-
-MIN_PV="$(get_version_component_range 2)"
-
-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-2.0 GPL-2 LGPL-2.1 )"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~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() {
- mkdir build inst
- epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch
- epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch
- epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
- epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
- epatch "${FILESDIR}"/${PN}-4.8.9-link-flags.patch
- # We do not need to pass -L$libdir via nspr-config --libs
- epatch "${FILESDIR}"/${PN}-4.9.5_nspr_config.patch
-
- # We must run eautoconf to regenerate configure
- cd "${S}"/mozilla/nsprpub
- eautoconf
-
- # make sure it won't find Perl out of Prefix
- sed -i -e "s/perl5//g" "${S}"/mozilla/nsprpub/configure || die
-
- # Respect LDFLAGS
- sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
- "${S}"/mozilla/nsprpub/config/rules.mk || die
-}
-
-src_configure() {
- cd "${S}"/build
-
- # We use the standard BUILD_xxx but nspr uses HOST_xxx
- tc-export_build_env BUILD_CC
- export HOST_CC=${BUILD_CC} HOST_CFLAGS=${BUILD_CFLAGS} HOST_LDFLAGS=${BUILD_LDFLAGS}
- tc-export AR CC CXX RANLIB
- [[ ${CBUILD} != ${CHOST} ]] \
- && export CROSS_COMPILE=1 \
- || unset CROSS_COMPILE
-
- local myconf
- 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="../mozilla/nsprpub" \
- ac_cv_path_AR="${AR}" \
- econf \
- --libdir="${EPREFIX}/usr/$(get_libdir)" \
- $(use_enable debug) \
- $(use_enable !debug optimize) \
- ${myconf}
-}
-
-src_compile() {
- cd "${S}"/build
- emake || die "failed to build"
-}
-
-src_install() {
- # Their build system is royally confusing, as usual
- MINOR_VERSION=${MIN_PV} # Used for .so version
- cd "${S}"/build
- emake DESTDIR="${D}" install || die "emake install failed"
-
- cd "${ED}"/usr/$(get_libdir)
- einfo "removing static libraries as upstream has requested!"
- rm -f *.a || die "failed to remove static libraries."
-
- # install nspr-config
- dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config"
-
- # Remove stupid files in /usr/bin
- rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
-}
diff --git a/dev-libs/nspr/nspr-4.9.6.ebuild b/dev-libs/nspr/nspr-4.9.6.ebuild
deleted file mode 100644
index c57fc4a3ee2d..000000000000
--- a/dev-libs/nspr/nspr-4.9.6.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.9.6.ebuild,v 1.1 2013/03/29 01:24:59 anarchy Exp $
-
-EAPI=3
-WANT_AUTOCONF="2.1"
-
-inherit autotools eutils multilib toolchain-funcs versionator
-
-MIN_PV="$(get_version_component_range 2)"
-
-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-2.0 GPL-2 LGPL-2.1 )"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~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() {
- mkdir build inst
- epatch "${FILESDIR}"/${PN}-4.6.1-lang.patch
- epatch "${FILESDIR}"/${PN}-4.7.0-prtime.patch
- epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
- epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
- epatch "${FILESDIR}"/${PN}-4.8.9-link-flags.patch
- # We do not need to pass -L$libdir via nspr-config --libs
- epatch "${FILESDIR}"/${PN}-4.9.5_nspr_config.patch
-
- # We must run eautoconf to regenerate configure
- cd "${S}"/mozilla/nsprpub
- eautoconf
-
- # make sure it won't find Perl out of Prefix
- sed -i -e "s/perl5//g" "${S}"/mozilla/nsprpub/configure || die
-
- # Respect LDFLAGS
- sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
- "${S}"/mozilla/nsprpub/config/rules.mk || die
-}
-
-src_configure() {
- cd "${S}"/build
-
- # We use the standard BUILD_xxx but nspr uses HOST_xxx
- tc-export_build_env BUILD_CC
- export HOST_CC=${BUILD_CC} HOST_CFLAGS=${BUILD_CFLAGS} HOST_LDFLAGS=${BUILD_LDFLAGS}
- tc-export AR CC CXX RANLIB
- [[ ${CBUILD} != ${CHOST} ]] \
- && export CROSS_COMPILE=1 \
- || unset CROSS_COMPILE
-
- local myconf
- 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="../mozilla/nsprpub" \
- ac_cv_path_AR="${AR}" \
- econf \
- --libdir="${EPREFIX}/usr/$(get_libdir)" \
- $(use_enable debug) \
- $(use_enable !debug optimize) \
- ${myconf}
-}
-
-src_compile() {
- cd "${S}"/build
- emake || die "failed to build"
-}
-
-src_install() {
- # Their build system is royally confusing, as usual
- MINOR_VERSION=${MIN_PV} # Used for .so version
- cd "${S}"/build
- emake DESTDIR="${D}" install || die "emake install failed"
-
- cd "${ED}"/usr/$(get_libdir)
- einfo "removing static libraries as upstream has requested!"
- rm -f *.a || die "failed to remove static libraries."
-
- # install nspr-config
- dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config"
-
- # Remove stupid files in /usr/bin
- rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
-}
diff --git a/dev-libs/nspr/nspr-4.9.ebuild b/dev-libs/nspr/nspr-4.9.ebuild
deleted file mode 100644
index b7a3ccc88f1f..000000000000
--- a/dev-libs/nspr/nspr-4.9.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nspr/nspr-4.9.ebuild,v 1.11 2013/01/06 18:14:51 armin76 Exp $
-
-EAPI=3
-WANT_AUTOCONF="2.1"
-
-inherit autotools eutils multilib toolchain-funcs versionator
-
-MIN_PV="$(get_version_component_range 2)"
-
-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 ~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() {
- mkdir build inst
- epatch "${FILESDIR}"/${PN}-4.8-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
- epatch "${FILESDIR}"/${PN}-4.9-pkgconfig-gentoo.patch
- epatch "${FILESDIR}"/${PN}-4.7.1-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.7.4-solaris.patch
- epatch "${FILESDIR}"/${PN}-4.8.3-aix-gcc.patch
- # Patch needs updating
- #epatch "${FILESDIR}"/${PN}-4.8.3-aix-soname.patch
- epatch "${FILESDIR}"/${PN}-4.8.4-darwin-install_name.patch
- epatch "${FILESDIR}"/${PN}-4.8.9-link-flags.patch
-
- # We must run eautoconf to regenerate configure
- cd "${S}"/mozilla/nsprpub
- eautoconf
-
- # make sure it won't find Perl out of Prefix
- sed -i -e "s/perl5//g" "${S}"/mozilla/nsprpub/configure || die
-
- # Respect LDFLAGS
- sed -i -e 's/\$(MKSHLIB) \$(OBJS)/\$(MKSHLIB) \$(LDFLAGS) \$(OBJS)/g' \
- "${S}"/mozilla/nsprpub/config/rules.mk || die
-}
-
-src_configure() {
- cd "${S}"/build
-
- echo > "${T}"/test.c
- $(tc-getCC) -c "${T}"/test.c -o "${T}"/test.o
- case $(scanelf -BF'%M' "${T}"/test.o)$(scanmacho -BF'%M' "${T}"/test.o) in
- ELFCLASS64*|POWERPC64*|X86_64*) myconf="${myconf} --enable-64bit";;
- ELFCLASS32*|POWERPC*|I386*|ARM*) ;;
- *) die "Failed to detect whether your arch is 64bits or 32bits, disable distcc if you're using it, please";;
- esac
-
- myconf="${myconf} --libdir=${EPREFIX}/usr/$(get_libdir)"
-
- LC_ALL="C" ECONF_SOURCE="../mozilla/nsprpub" econf \
- $(use_enable debug) \
- $(use_enable !debug optimize) \
- ${myconf} || die "econf failed"
-}
-
-src_compile() {
- cd "${S}"/build
- if tc-is-cross-compiler; then
- emake CC="$(tc-getBUILD_CC)" CXX="$(tc-getBUILD_CXX)" \
- -C config nsinstall || die "failed to build"
- mv config/{,native-}nsinstall
- sed -s 's#/nsinstall$#/native-nsinstall#' -i config/autoconf.mk
- rm config/nsinstall.o
- fi
- emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" || die "failed to build"
-}
-
-src_install () {
- # Their build system is royally confusing, as usual
- MINOR_VERSION=${MIN_PV} # Used for .so version
- cd "${S}"/build
- emake DESTDIR="${D}" install || die "emake install failed"
-
- cd "${ED}"/usr/$(get_libdir)
- for file in *.a; do
- einfo "removing static libraries as upstream has requested!"
- rm -f ${file} || die "failed to remove static libraries."
- done
-
- local n=
- # aix-soname.patch does this already
- [[ ${CHOST} == *-aix* ]] ||
- for file in *$(get_libname); do
- n=${file%$(get_libname)}$(get_libname ${MINOR_VERSION})
- mv ${file} ${n} || die "failed to mv files around"
- ln -s ${n} ${file} || die "failed to symlink files."
- if [[ ${CHOST} == *-darwin* ]]; then
- install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${n}" ${n} || die
- fi
- done
-
- # install nspr-config
- dobin "${S}"/build/config/nspr-config || die "failed to install nspr-config"
-
- # Remove stupid files in /usr/bin
- rm -f "${ED}"/usr/bin/prerr.properties || die "failed to cleanup unneeded files"
-}