diff options
Diffstat (limited to 'mail/thunderbird10/patches/patch-mk')
-rw-r--r-- | mail/thunderbird10/patches/patch-mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/mail/thunderbird10/patches/patch-mk b/mail/thunderbird10/patches/patch-mk new file mode 100644 index 00000000000..7f9d6ee15e6 --- /dev/null +++ b/mail/thunderbird10/patches/patch-mk @@ -0,0 +1,30 @@ +$NetBSD: patch-mk,v 1.1.1.1 2012/03/15 09:45:29 ryoon Exp $ + +Treat DragonFly like FreeBSD. + +--- mozilla/config/rules.mk.orig 2012-02-16 10:24:47.000000000 +0000 ++++ mozilla/config/rules.mk +@@ -580,6 +580,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) +@@ -589,6 +595,10 @@ endif + endif + endif + ++ifeq ($(OS_ARCH),NetBSD) ++EXTRA_DSO_LDOPTS += -Wl,-rpath,${PREFIX}/lib/xulrunner ++endif ++ + # + # HP-UXBeOS specific section: for COMPONENTS only, add -Bsymbolic flag + # which uses internal symbols first |