pkgsrc/mail/thunderbird10/patches/patch-mk
ryoon 5231a1ae47 Import thunderbird10-10.0.3 as mail/thunderbird10
* This is ESR (Extended Support Release) version.
* Fix security bugs
2012-03-15 09:45:26 +00:00

30 lines
738 B
Text

$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