diff options
Diffstat (limited to 'devel/xulrunner17/patches/patch-mk')
-rw-r--r-- | devel/xulrunner17/patches/patch-mk | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/devel/xulrunner17/patches/patch-mk b/devel/xulrunner17/patches/patch-mk new file mode 100644 index 00000000000..9fefcb08d57 --- /dev/null +++ b/devel/xulrunner17/patches/patch-mk @@ -0,0 +1,31 @@ +$NetBSD: patch-mk,v 1.1 2013/01/10 16:17:10 ryoon Exp $ + +* Conditional for NetBSD and DragonFly +* From https://bugzilla.mozilla.org/show_bug.cgi?id=736961 + +--- config/rules.mk.orig 2012-08-24 22:55:19.000000000 +0000 ++++ config/rules.mk +@@ -454,6 +454,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) +@@ -463,6 +469,10 @@ endif + endif + endif + ++ifeq ($(OS_ARCH),NetBSD) ++EXTRA_DSO_LDOPTS += -Wl,-rpath,${PREFIX}/lib/xulrunner17 ++endif ++ + # + # HP-UXBeOS specific section: for COMPONENTS only, add -Bsymbolic flag + # which uses internal symbols first |