pkgsrc/devel/nss/patches/patch-ae
reed 5aea61e23d Add patch-ah and patch-ai and update patch-ae for DragonFly support.
This is from PR #30711.

Note that I didn't test on DragonFly.

Also note that this is still incomplete for DragonFly -- it needs
the mk file too.
2005-08-12 20:11:26 +00:00

21 lines
649 B
Text

$NetBSD: patch-ae,v 1.2 2005/08/12 20:11:26 reed Exp $
--- cmd/platlibs.mk.orig 2004-06-18 23:13:45.000000000 -0700
+++ cmd/platlibs.mk 2005-08-12 12:21:35.000000000 -0700
@@ -182,7 +182,7 @@
# 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)))
+ifeq (,$(filter-out BSD_OS FreeBSD Linux NetBSD DragonFly, $(OS_ARCH)))
EXTRA_SHARED_LIBS += -Wl,-rpath-link,$(DIST)/lib
endif
@@ -216,6 +216,7 @@
-L$(DIST)/lib \
-lssl3 \
-lsmime3 \
+ -lsoftokn3 \
-lnss3 \
-lplc4 \
-lplds4 \