openbsd-ports/devel/xulrunner/1.9/patches/patch-config_rules_mk
martynas 2e5d9b5137 import xulrunner 1.9, and implement infrastructure for multiple
xulrunners.  this was necessary for smooth migration, since we want
plugins work for mozilla 1.8 branch too (seamonkey, thunderbird);
they are upwards-compatible if built against 1.8.  however, some
new applications started to depend on 1.9, and also other (non-plugin)
apps will start to migrate so that the old xulrunner can go away
requested by many;  bulk build & pkgpath & bump done by sthen@
2009-07-27 21:35:56 +00:00

19 lines
489 B
Plaintext

$OpenBSD: patch-config_rules_mk,v 1.1.1.1 2009/07/27 21:35:56 martynas Exp $
--- config/rules.mk.orig Wed Jun 25 02:29:46 2008
+++ config/rules.mk Sun Apr 26 17:08:11 2009
@@ -482,6 +482,14 @@ endif
endif
endif
+ifeq ($(OS_ARCH),OpenBSD)
+DSO_LDOPTS += -Wl,-rpath,'$(mozappdir)'
+OS_LDFLAGS += -Wl,-rpath,'$(mozappdir)'
+ifdef IS_COMPONENT
+EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
+endif
+endif
+
ifeq ($(OS_ARCH),Linux)
ifneq (,$(filter mips mipsel,$(OS_TEST)))
ifeq ($(MODULE),layout)