openbsd-ports/devel/xulrunner/1.8/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

16 lines
426 B
Plaintext

$OpenBSD: patch-config_rules_mk,v 1.1.1.1 2009/07/27 21:36:01 martynas Exp $
--- config/rules.mk.orig Tue Dec 18 23:33:08 2007
+++ config/rules.mk Mon Aug 25 14:09:39 2008
@@ -456,6 +456,11 @@ endif
endif
endif
+ifeq ($(OS_ARCH),OpenBSD)
+DSO_LDOPTS += -Wl,-rpath,'$(mozappdir)'
+OS_LDFLAGS += -Wl,-rpath,'$(mozappdir)'
+endif
+
ifeq ($(OS_ARCH),Linux)
ifneq (,$(filter mips mipsel,$(OS_TEST)))
ifeq ($(MODULE),layout)