summaryrefslogtreecommitdiff
path: root/www/firefox3-devel/files/patch-security-coreconf-FreeBSD.mk
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2007-03-19 11:42:52 +0000
committerMichael Johnson <ahze@FreeBSD.org>2007-03-19 11:42:52 +0000
commit07a95a41a80570bb5d94c57ea89668a258ff32ea (patch)
tree19c35b2e6a6c11fad466708b3d3f8ebb95b26433 /www/firefox3-devel/files/patch-security-coreconf-FreeBSD.mk
parent- Do not extract things during `pre-patch' phase (diff)
Readd firefox-devel at version 3.0.a2
Notes
Notes: svn path=/head/; revision=187714
Diffstat (limited to 'www/firefox3-devel/files/patch-security-coreconf-FreeBSD.mk')
-rw-r--r--www/firefox3-devel/files/patch-security-coreconf-FreeBSD.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/firefox3-devel/files/patch-security-coreconf-FreeBSD.mk b/www/firefox3-devel/files/patch-security-coreconf-FreeBSD.mk
new file mode 100644
index 000000000000..0f7a04a0279f
--- /dev/null
+++ b/www/firefox3-devel/files/patch-security-coreconf-FreeBSD.mk
@@ -0,0 +1,24 @@
+--- security/coreconf/FreeBSD.mk.orig Mon Sep 25 18:26:23 2006
++++ security/coreconf/FreeBSD.mk Mon Sep 25 18:27:03 2006
+@@ -45,8 +45,12 @@
+ ifeq ($(OS_TEST),alpha)
+ CPU_ARCH = alpha
+ else
++ifeq ($(OS_TEST),amd64)
++CPU_ARCH = amd64
++else
+ CPU_ARCH = x86
+ endif
++endif
+
+ OS_CFLAGS = $(DSO_CFLAGS) -ansi -Wall -DFREEBSD -DHAVE_STRERROR -DHAVE_BSD_FLOCK
+
+@@ -73,7 +77,7 @@
+ DLL_SUFFIX = so.1.0
+ endif
+
+-MKSHLIB = $(CC) $(DSO_LDOPTS)
++MKSHLIB = $(CC) -Wl,-Bsymbolic -lc $(DSO_LDOPTS) -o $@
+ ifdef MAPFILE
+ MKSHLIB += -Wl,--version-script,$(MAPFILE)
+ endif