openbsd-ports/www/mozilla-firefox/patches/patch-toolkit_library_libxul-config_mk
landry ddd3e93eae Lo and behold, update to mozilla-firefox 4.0 !
Too much changes to list them, just enjoy it. Thanks to the ones who
tested the betas/rc.
ok jasper@
2011-03-30 21:39:14 +00:00

25 lines
780 B
Plaintext

$OpenBSD: patch-toolkit_library_libxul-config_mk,v 1.1 2011/03/30 21:39:14 landry Exp $
Ensure systemwide nss is taken
Ensure local libjs is taken (build failure when spidermonkey is installed,
its libjs_static.a is found first in lib search path)
https://bugzilla.mozilla.org/show_bug.cgi?id=646375
--- toolkit/library/libxul-config.mk.orig Sat Mar 19 00:34:11 2011
+++ toolkit/library/libxul-config.mk Wed Mar 30 10:17:13 2011
@@ -365,13 +365,14 @@ EXTRA_DSO_LDOPTS += \
$(JPEG_LIBS) \
$(PNG_LIBS) \
$(QCMS_LIBS) \
- $(MOZ_JS_LIBS) \
- $(NSS_LIBS) \
+ ../../dist/lib/libjs_static.a \
$(MOZ_CAIRO_LIBS) \
$(MOZ_HARFBUZZ_LIBS) \
$(MOZ_OTS_LIBS) \
$(MOZ_APP_EXTRA_LIBS) \
$(NULL)
+
+OS_LIBS += $(NSS_LIBS)
ifdef MOZ_NATIVE_ZLIB
EXTRA_DSO_LDOPTS += $(ZLIB_LIBS)