summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-mk
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/patches/patch-mk')
-rw-r--r--www/firefox/patches/patch-mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/firefox/patches/patch-mk b/www/firefox/patches/patch-mk
new file mode 100644
index 00000000000..4a0e99235df
--- /dev/null
+++ b/www/firefox/patches/patch-mk
@@ -0,0 +1,19 @@
+$NetBSD: patch-mk,v 1.1.1.1 2009/08/05 02:37:11 tnn Exp $
+
+Treat DragonFly like FreeBSD.
+
+--- config/rules.mk.orig 2009-06-29 18:14:41.000000000 +0200
++++ config/rules.mk
+@@ -592,6 +592,12 @@ EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
+ endif
+ endif
+
++ifeq ($(OS_ARCH),DragonFly)
++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)