diff options
author | marcus <marcus@FreeBSD.org> | 2009-09-17 10:59:49 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2009-09-17 10:59:49 +0800 |
commit | 584d6021c919490842d5183b9a0d733de2065d6b (patch) | |
tree | b6c25676a7d5b5bb3b12d6fc4293e2d70482ee08 /security/nss | |
parent | 3daafb01240c5925e2f663f24d05ee4632157ba8 (diff) | |
download | freebsd-ports-graphics-584d6021c919490842d5183b9a0d733de2065d6b.tar.gz freebsd-ports-graphics-584d6021c919490842d5183b9a0d733de2065d6b.tar.zst freebsd-ports-graphics-584d6021c919490842d5183b9a0d733de2065d6b.zip |
Fix the build on sparc64.
PR: 138877
Submitted by: beat
Feature safe: yes
Diffstat (limited to 'security/nss')
-rw-r--r-- | security/nss/files/patch-..::coreconf::FreeBSD.mk | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/security/nss/files/patch-..::coreconf::FreeBSD.mk b/security/nss/files/patch-..::coreconf::FreeBSD.mk index f559bad3d14..fa8d5755dee 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 2008-07-12 16:28:59.000000000 +0200 -+++ ../coreconf/FreeBSD.mk 2009-08-31 10:20:16.000000000 +0200 -@@ -37,16 +37,23 @@ +--- ../../security/coreconf/FreeBSD.mk.orig 2008-07-12 10:28:59.000000000 -0400 ++++ ../../security/coreconf/FreeBSD.mk 2009-09-16 22:57:28.000000000 -0400 +@@ -37,16 +37,28 @@ include $(CORE_DEPTH)/coreconf/UNIX.mk @@ -18,16 +18,21 @@ +ifeq ($(OS_TEST),powerpc) +CPU_ARCH = powerpc +else ++ifeq ($(OS_TEST),sparc64) ++CPU_ARCH = sparc64 ++USE_64 = 1 ++else +ifeq ($(OS_TEST),amd64) +USE_64 = 1 +endif CPU_ARCH = x86 endif +endif ++endif OS_CFLAGS = $(DSO_CFLAGS) -ansi -Wall -Wno-switch -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK -@@ -60,20 +67,18 @@ +@@ -60,20 +72,18 @@ ifndef CLASSIC_NSPR USE_PTHREADS = 1 DEFINES += -D_THREAD_SAFE -D_REENTRANT OS_LIBS += -pthread @@ -53,7 +58,7 @@ ifdef MAPFILE MKSHLIB += -Wl,--version-script,$(MAPFILE) endif -@@ -82,4 +87,5 @@ +@@ -82,4 +92,5 @@ PROCESS_MAP_FILE = grep -v ';-' $< | \ G++INCLUDES = -I/usr/include/g++ |