pkgsrc/devel/xulrunner/patches/patch-mf

22 lines
755 B
Text
Raw Normal View History

$NetBSD: patch-mf,v 1.3 2010/03/16 15:57:02 tnn Exp $
Add DragonFly support.
Make sure nss libraries have a run path defined.
--- security/coreconf/config.mk.orig 2010-03-15 14:56:04.000000000 +0000
+++ security/coreconf/config.mk
@@ -63,7 +63,7 @@ endif
#######################################################################
TARGET_OSES = FreeBSD BSD_OS NetBSD OpenUNIX OS2 QNX Darwin BeOS OpenBSD \
- AIX RISCOS WINNT WIN95 WINCE
+ AIX RISCOS WINNT WIN95 WINCE DragonFly
ifeq (,$(filter-out $(TARGET_OSES),$(OS_TARGET)))
include $(CORE_DEPTH)/coreconf/$(OS_TARGET).mk
@@ -207,3 +207,4 @@ endif
DEFINES += -DUSE_UTIL_DIRECTLY
USE_UTIL_DIRECTLY = 1
+EXTRA_SHARED_LIBS += -Wl,-R${PREFIX}/lib/${MOZILLA_PKG_NAME}