diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-08-17 17:18:30 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-08-17 17:18:30 +0000 |
commit | 272c1f4a2642c161be0969b6539a4f18b01c0911 (patch) | |
tree | da6800c653ff9139f80fc1a226a616d1272a9540 /security/nss | |
parent | 9e439342ba6b92fb3801c1ff5ecebbf678bb8e71 (diff) |
Add PowerPC support.
Submitted by: Andreas Tobler <andreast-list@fgznet.ch>
Notes
Notes:
svn path=/head/; revision=239774
Diffstat (limited to 'security/nss')
-rw-r--r-- | security/nss/Makefile | 2 | ||||
-rw-r--r-- | security/nss/files/patch-..::coreconf::FreeBSD.mk | 22 |
2 files changed, 18 insertions, 6 deletions
diff --git a/security/nss/Makefile b/security/nss/Makefile index 92fb9670722f..ad17d5d4dcf8 100644 --- a/security/nss/Makefile +++ b/security/nss/Makefile @@ -7,7 +7,7 @@ PORTNAME= nss PORTVERSION= ${_MAJOR}.${_MINOR}.${_PATCH} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_MOZILLA} MASTER_SITE_SUBDIR= security/nss/releases/NSS_${PORTVERSION:S/./_/g}_RTM/src diff --git a/security/nss/files/patch-..::coreconf::FreeBSD.mk b/security/nss/files/patch-..::coreconf::FreeBSD.mk index 94c5f617ab25..9e195ff6eb97 100644 --- a/security/nss/files/patch-..::coreconf::FreeBSD.mk +++ b/security/nss/files/patch-..::coreconf::FreeBSD.mk @@ -1,6 +1,6 @@ ---- ../coreconf/FreeBSD.mk.orig Sat Jan 21 03:36:11 2006 -+++ ../coreconf/FreeBSD.mk Tue Jan 30 21:13:41 2007 -@@ -37,9 +37,9 @@ +--- ../coreconf/FreeBSD.mk.orig 2006-01-21 02:36:11.000000000 +0000 ++++ ../coreconf/FreeBSD.mk 2009-08-17 17:17:41.235006000 +0000 +@@ -37,16 +37,20 @@ include $(CORE_DEPTH)/coreconf/UNIX.mk @@ -13,7 +13,18 @@ RANLIB = ranlib ifeq ($(OS_TEST),alpha) -@@ -60,20 +66,18 @@ + CPU_ARCH = alpha + else ++ifeq ($(OS_TEST),powerpc) ++CPU_ARCH = powerpc ++else + CPU_ARCH = x86 + endif ++endif + + OS_CFLAGS = $(DSO_CFLAGS) -ansi -Wall -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK + +@@ -60,20 +64,18 @@ ifndef CLASSIC_NSPR USE_PTHREADS = 1 DEFINES += -D_THREAD_SAFE -D_REENTRANT OS_LIBS += -pthread @@ -39,7 +50,8 @@ ifdef MAPFILE MKSHLIB += -Wl,--version-script,$(MAPFILE) endif -@@ -83,4 +87,5 @@ +@@ -82,4 +84,5 @@ PROCESS_MAP_FILE = grep -v ';-' $< | \ + G++INCLUDES = -I/usr/include/g++ -INCLUDES += -I/usr/X11R6/include |