summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-dm
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox/patches/patch-dm')
-rw-r--r--www/firefox/patches/patch-dm15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/firefox/patches/patch-dm b/www/firefox/patches/patch-dm
new file mode 100644
index 00000000000..8c3444430da
--- /dev/null
+++ b/www/firefox/patches/patch-dm
@@ -0,0 +1,15 @@
+$NetBSD: patch-dm,v 1.1 2005/10/12 16:39:25 joerg Exp $
+
+--- security/nss/cmd/platlibs.mk.orig 2005-05-24 14:48:31.000000000 +0200
++++ security/nss/cmd/platlibs.mk 2005-05-24 14:48:38.000000000 +0200
+@@ -182,8 +182,8 @@ endif
+ # 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)