diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-01-25 21:53:39 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-01-25 21:53:39 +0000 |
commit | 083cf1bc6e2068c44e157bcd51009f41eceac946 (patch) | |
tree | 8fed40f51fe08623eb0e43f3bdd24388b15d4744 /www/mozilla | |
parent | Respect 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')
-rw-r--r-- | www/mozilla/Makefile | 1 | ||||
-rw-r--r-- | www/mozilla/files/patch-config_rules.mk | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/www/mozilla/Makefile b/www/mozilla/Makefile index 611fe08c5f80..5f9a9159154e 100644 --- a/www/mozilla/Makefile +++ b/www/mozilla/Makefile @@ -7,6 +7,7 @@ PORTNAME?= mozilla PORTVERSION= 1.2.1 +PORTREVISION?= 1 PORTEPOCH?= 2 CATEGORIES?= www MASTER_SITES= ${MASTER_SITE_MOZILLA} \ 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) |