aboutsummaryrefslogtreecommitdiff
path: root/www/mozilla
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2004-07-08 16:57:32 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2004-07-08 16:57:32 +0000
commit982e464ebf12c4b59609d6c5a760f458de1002da (patch)
treeaba9d904db81ab075e32ad85840b3e20f4923123 /www/mozilla
parent1c7ea1c997277e82bd17f376a35292611c86b820 (diff)
downloadports-982e464ebf12c4b59609d6c5a760f458de1002da.tar.gz
ports-982e464ebf12c4b59609d6c5a760f458de1002da.zip
Notes
Diffstat (limited to 'www/mozilla')
-rw-r--r--www/mozilla/files/patch-security::coreconf::FreeBSD.mk19
1 files changed, 17 insertions, 2 deletions
diff --git a/www/mozilla/files/patch-security::coreconf::FreeBSD.mk b/www/mozilla/files/patch-security::coreconf::FreeBSD.mk
index caabfc098e9f..b2dbddeea6df 100644
--- a/www/mozilla/files/patch-security::coreconf::FreeBSD.mk
+++ b/www/mozilla/files/patch-security::coreconf::FreeBSD.mk
@@ -1,5 +1,5 @@
--- security/coreconf/FreeBSD.mk.orig Wed Mar 26 20:17:25 2003
-+++ security/coreconf/FreeBSD.mk Fri Mar 19 15:52:59 2004
++++ security/coreconf/FreeBSD.mk Thu Jul 8 12:56:24 2004
@@ -35,16 +35,18 @@
include $(CORE_DEPTH)/coreconf/UNIX.mk
@@ -22,12 +22,27 @@
OS_CFLAGS = $(DSO_CFLAGS) -ansi -Wall -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
-@@ -71,7 +73,7 @@
+@@ -57,8 +59,8 @@
+ ifndef CLASSIC_NSPR
+ USE_PTHREADS = 1
+ DEFINES += -D_THREAD_SAFE -D_REENTRANT
+-OS_LIBS += -pthread
+-DSO_LDOPTS += -pthread
++OS_LIBS += -lpthread
++DSO_LDOPTS += -lpthread
+ endif
+
+ ARCH = freebsd
+@@ -71,7 +73,11 @@
DLL_SUFFIX = so.1.0
endif
-MKSHLIB = $(CC) $(DSO_LDOPTS)
++ifneq (,$(filter alpha ia64,$(OS_TEST)))
++MKSHLIB = $(CC) -Wl,-Bsymbolic -lc $(DSO_LDOPTS) -o $@
++else
+MKSHLIB = $(CC) -Wl,-Bsymbolic $(DSO_LDOPTS) -o $@
++endif
ifdef MAPFILE
# Add LD options to restrict exported symbols to those in the map file
endif