aboutsummaryrefslogtreecommitdiff
path: root/www/mozilla/files
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-01-25 21:53:39 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-01-25 21:53:39 +0000
commit083cf1bc6e2068c44e157bcd51009f41eceac946 (patch)
tree8fed40f51fe08623eb0e43f3bdd24388b15d4744 /www/mozilla/files
parent99e456bb466ee10cdc501234d6a152fd71be84d6 (diff)
downloadports-083cf1bc6e2068c44e157bcd51009f41eceac946.tar.gz
ports-083cf1bc6e2068c44e157bcd51009f41eceac946.zip
FreeBSD requires Mozilla components to be linked with -Bsymbolic so to avoid
symbol clashes with, for example, libexpat. This will allow Mozilla and more precisely, Galeon 2, to work with GTK 2.2.
Notes
Notes: svn path=/head/; revision=74000
Diffstat (limited to 'www/mozilla/files')
-rw-r--r--www/mozilla/files/patch-config_rules.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/mozilla/files/patch-config_rules.mk b/www/mozilla/files/patch-config_rules.mk
new file mode 100644
index 000000000000..ed83bb224d91
--- /dev/null
+++ b/www/mozilla/files/patch-config_rules.mk
@@ -0,0 +1,15 @@
+--- config/rules.mk.orig Fri Oct 25 01:59:03 2002
++++ config/rules.mk Sat Jan 25 16:44:25 2003
+@@ -463,6 +463,12 @@
+ endif
+ endif
+
++ifeq ($(OS_ARCH),FreeBSD)
++ifdef IS_COMPONENT
++EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
++endif
++endif
++
+ ifeq ($(OS_ARCH),NetBSD)
+ ifneq (,$(filter arc cobalt hpcmips mipsco newsmips pmax sgimips,$(OS_TEST)))
+ ifeq ($(MODULE),layout)