summaryrefslogtreecommitdiff
path: root/mail/thunderbird/patches/patch-dm
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-12-30 21:35:58 +0000
committerjoerg <joerg@pkgsrc.org>2005-12-30 21:35:58 +0000
commit2d271424d13bbd981e8c2d6711b4094ce9f7f3eb (patch)
tree9434c3a34c91c8670dc35da2ea13ec26bba6552c /mail/thunderbird/patches/patch-dm
parent442dec26a69e66c8d8cc399b629817ad3cec59f9 (diff)
downloadpkgsrc-2d271424d13bbd981e8c2d6711b4094ce9f7f3eb.tar.gz
Add DragonFly build support, partly based on the patches from
www/firefox.
Diffstat (limited to 'mail/thunderbird/patches/patch-dm')
-rw-r--r--mail/thunderbird/patches/patch-dm16
1 files changed, 16 insertions, 0 deletions
diff --git a/mail/thunderbird/patches/patch-dm b/mail/thunderbird/patches/patch-dm
new file mode 100644
index 00000000000..1bf57a9fcf4
--- /dev/null
+++ b/mail/thunderbird/patches/patch-dm
@@ -0,0 +1,16 @@
+$NetBSD: patch-dm,v 1.1 2005/12/30 21:35:58 joerg Exp $
+
+diff -ruN ../Orig/mozilla/security/nss/cmd/platlibs.mk ./security/nss/cmd/platlibs.mk
+--- ../Orig/mozilla/security/nss/cmd/platlibs.mk 2005-04-07 06:35:41.000000000 +0900
++++ ./security/nss/cmd/platlibs.mk 2005-12-04 19:44:52.000000000 +0900
+@@ -186,8 +186,8 @@
+ # If GNU ld is used, we must use the -rpath-link option to tell
+ # the linker where to find libsoftokn3.so, an implicit dependency
+ # of libnss3.so.
+-ifeq (,$(filter-out BSD_OS FreeBSD Linux NetBSD, $(OS_ARCH)))
+-EXTRA_SHARED_LIBS += -Wl,-rpath-link,$(DIST)/lib
++ifeq (,$(filter-out BSD_OS FreeBSD Linux NetBSD DragonFly, $(OS_ARCH)))
++EXTRA_SHARED_LIBS += -Wl,-rpath-link,$(DIST)/lib -R/usr/pkg/lib/firefox
+ endif
+
+ ifeq ($(OS_ARCH), SunOS)