pkgsrc/devel/xulrunner192/patches/patch-pa
tnn d50dd14ddf Fix build of legacy mozilla packages and rename the PKGBASE
to facilitate coinstallation with current packages.
2011-08-20 13:05:49 +00:00

11 lines
484 B
Text

$NetBSD: patch-pa,v 1.2 2011/08/20 13:05:50 tnn Exp $
--- xulrunner/installer/mozilla-js.pc.in.orig 2009-10-29 23:11:24.000000000 +0100
+++ xulrunner/installer/mozilla-js.pc.in
@@ -6,5 +6,5 @@ Name: JavaScript
Description: The Mozilla JavaScript Library
Version: %MOZILLA_VERSION%
Requires: %NSPR_NAME% >= %NSPR_VERSION%
-Libs: -L${sdkdir}/lib -lmozjs
+Libs: -Wl,-R${prefix}/lib/xulrunner192 -L${prefix}/lib/xulrunner192 -lmozjs
Cflags: -I${includedir} -DXP_UNIX -DJS_THREADSAFE