summaryrefslogtreecommitdiff
path: root/www/mozilla-devel
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-devel
parentRespect the CFLAGS and the X11BASE (diff)
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-devel')
-rw-r--r--www/mozilla-devel/Makefile2
-rw-r--r--www/mozilla-devel/files/patch-config_rules.mk15
2 files changed, 16 insertions, 1 deletions
diff --git a/www/mozilla-devel/Makefile b/www/mozilla-devel/Makefile
index f49f74ff81b6..c626ebc7c8de 100644
--- a/www/mozilla-devel/Makefile
+++ b/www/mozilla-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= mozilla
PORTVERSION= 1.3a
-PORTREVISION?= 0
+PORTREVISION?= 1
PORTEPOCH?= 1
CATEGORIES?= www
MASTER_SITES= ${MASTER_SITE_MOZILLA} \
diff --git a/www/mozilla-devel/files/patch-config_rules.mk b/www/mozilla-devel/files/patch-config_rules.mk
new file mode 100644
index 000000000000..e1bc19837bdc
--- /dev/null
+++ b/www/mozilla-devel/files/patch-config_rules.mk
@@ -0,0 +1,15 @@
+--- config/rules.mk.orig Sat Jan 25 16:40:16 2003
++++ config/rules.mk Sat Jan 25 16:42:56 2003
+@@ -411,6 +411,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)