summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2004-02-17 06:49:42 +0000
committerJoshua Kinard <kumba@gentoo.org>2004-02-17 06:49:42 +0000
commit6a3286023f2f83b2139c999abc0de66af490dfdd (patch)
treeeafaa2028e6508e74683fa8ae289bc055f5183a8
parentAdded ~mips to keywords. (diff)
downloadhistorical-6a3286023f2f83b2139c999abc0de66af490dfdd.tar.gz
historical-6a3286023f2f83b2139c999abc0de66af490dfdd.tar.bz2
historical-6a3286023f2f83b2139c999abc0de66af490dfdd.zip
Added a patch to allow mips to build and added ~mips keyword.
-rw-r--r--dev-libs/nss/ChangeLog6
-rw-r--r--dev-libs/nss/Manifest5
-rw-r--r--dev-libs/nss/files/nss-3.8-mips.patch21
-rw-r--r--dev-libs/nss/nss-3.8.ebuild8
4 files changed, 35 insertions, 5 deletions
diff --git a/dev-libs/nss/ChangeLog b/dev-libs/nss/ChangeLog
index 1ab379a8b22b..87de86e1ebb7 100644
--- a/dev-libs/nss/ChangeLog
+++ b/dev-libs/nss/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/nss
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/ChangeLog,v 1.16 2004/01/27 21:58:17 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/ChangeLog,v 1.17 2004/02/17 06:49:42 kumba Exp $
+
+ 16 Feb 2004; Joshua Kinard <kumba@gentoo.org> nss-3.8.ebuild,
+ files/nss-3.8-mips.patch:
+ Added a patch to allow mips to build and added ~mips keyword.
27 Jan 2004; Aron Griffis <agriffis@gentoo.org> nss-3.8.ebuild:
add ~ia64
diff --git a/dev-libs/nss/Manifest b/dev-libs/nss/Manifest
index 477952d48cc0..c9e1bb998473 100644
--- a/dev-libs/nss/Manifest
+++ b/dev-libs/nss/Manifest
@@ -1,5 +1,6 @@
-MD5 8c6c093a9a0ba62f30583f4188d0c75b ChangeLog 2036
+MD5 4912b85a80711690ff25c931d0c61cbd ChangeLog 2190
MD5 8f906ffe0aa837e5e26fe03af3043461 metadata.xml 219
-MD5 fd2f7696ccb6ee1be9baa6f08f83abca nss-3.8.ebuild 2365
+MD5 8ffc7758960f29da5c570d2c2c9a610f nss-3.8.ebuild 2453
MD5 80da1f67cfbd587017f411109c5ca57b files/digest-nss-3.8 60
MD5 d5948dfd93b61198742855ec3d2a254d files/nss-3.8-amd64.patch 8306
+MD5 2bba753992f9510d4a440a2ca18858c4 files/nss-3.8-mips.patch 503
diff --git a/dev-libs/nss/files/nss-3.8-mips.patch b/dev-libs/nss/files/nss-3.8-mips.patch
new file mode 100644
index 000000000000..d95fb0a8da3a
--- /dev/null
+++ b/dev-libs/nss/files/nss-3.8-mips.patch
@@ -0,0 +1,21 @@
+--- mozilla/security/coreconf/Linux.mk.orig 2003-11-02 12:20:10.000000000 -0500
++++ mozilla/security/coreconf/Linux.mk 2003-11-02 12:25:23.000000000 -0500
+@@ -90,6 +90,10 @@
+ OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
+ CPU_ARCH = s390x
+ else
++ifeq ($(OS_TEST),mips)
++ OS_REL_CFLAGS = -DLINUX1_2 -D_XOPEN_SOURCE
++ CPU_ARCH = mips
++else
+ OS_REL_CFLAGS = -DLINUX1_2 -Di386 -D_XOPEN_SOURCE
+ CPU_ARCH = x86
+ endif
+@@ -102,6 +106,7 @@
+ endif
+ endif
+ endif
++endif
+
+
+ LIBC_TAG = _glibc
diff --git a/dev-libs/nss/nss-3.8.ebuild b/dev-libs/nss/nss-3.8.ebuild
index 1b1e93c7d07f..804c8bd934d4 100644
--- a/dev-libs/nss/nss-3.8.ebuild
+++ b/dev-libs/nss/nss-3.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/nss-3.8.ebuild,v 1.18 2004/01/27 21:58:17 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/nss/nss-3.8.ebuild,v 1.19 2004/02/17 06:49:42 kumba Exp $
S=${WORKDIR}/${P}
@@ -11,7 +11,7 @@ HOMEPAGE="http://www.mozilla.org/projects/security/pki/nss/"
SLOT="0"
LICENSE="MPL-1.1"
-KEYWORDS="x86 ppc sparc alpha ~amd64 ~ia64"
+KEYWORDS="x86 ppc sparc alpha ~amd64 ~ia64 ~mips"
DEPEND="virtual/glibc
app-arch/zip
@@ -44,6 +44,10 @@ src_unpack() {
then
cd ${S}; epatch ${FILESDIR}/${PN}-${PV}-amd64.patch
fi
+
+ if [ "`use mips`" ]; then
+ cd ${S}; epatch ${FILESDIR}/${PN}-${PV}-mips.patch
+ fi
}
src_compile() {