Files
pkgsrc-ng/devel/nss/patches/patch-mf
2014-11-05 12:41:07 +01:00

24 lines
867 B
Plaintext

$NetBSD: patch-mf,v 1.4 2013/07/20 09:28:12 ryoon Exp $
Add DragonFly support.
Make sure nss libraries have a run path defined.
--- nss/coreconf/config.mk.orig 2013-06-27 17:58:08.000000000 +0000
+++ nss/coreconf/config.mk
@@ -31,7 +31,7 @@ endif
#######################################################################
TARGET_OSES = FreeBSD BSD_OS NetBSD OpenUNIX OS2 QNX Darwin BeOS OpenBSD \
- AIX RISCOS WINNT WIN95 Linux Android
+ AIX RISCOS WINNT WIN95 Linux Android DragonFly
ifeq (,$(filter-out $(TARGET_OSES),$(OS_TARGET)))
include $(CORE_DEPTH)/coreconf/$(OS_TARGET).mk
@@ -179,5 +179,6 @@ endif
DEFINES += -DUSE_UTIL_DIRECTLY
USE_UTIL_DIRECTLY = 1
+EXTRA_SHARED_LIBS += -Wl,-R${PREFIX}/lib/${MOZILLA_PKG_NAME}
# Build with NO_NSPR_10_SUPPORT to avoid using obsolete NSPR features
DEFINES += -DNO_NSPR_10_SUPPORT