openbsd-ports/devel/spidermonkey/patches/patch-mozjs185_pc_in
landry 191bc6db26 Import devel/spidermonkey 1.8.5
- built from the official upstream release
- needed for upcoming gnome/js update
- this is not an update to lang/spidermonkey, as that new version was
  built upon Ffx 4 js engine and probably only works on amd64/i386/ppc.
It builds on sparc64 but is broken at runtime. Not marking BROKEN-* to
allow depending ports to build. Other archs untested.
- special care was taken to ensure it doesnt conflict with
  lang/spidermonkey (install versionned binaries/headers..)
- ports wanting to use it should use devel/spidermonkey>=1.8,<1.9 to
  ensure the correct version is picked up

Tested in an amd64 bulk build.
ok/prodding ajacoutot@
2012-04-07 13:48:18 +00:00

10 lines
392 B
Plaintext

$OpenBSD: patch-mozjs185_pc_in,v 1.1.1.1 2012/04/07 13:48:18 landry Exp $
--- mozjs185.pc.in.orig Wed Apr 4 15:45:40 2012
+++ mozjs185.pc.in Wed Apr 4 15:45:56 2012
@@ -7,4 +7,4 @@ Description: The Mozilla library for JavaScript 1.8.5
Version: %MOZILLA_VERSION%
Requires: nspr >= 4.7
Libs: -L${libdir} -lmozjs185
-Cflags: -I${includedir}/js
+Cflags: -I${includedir}/js-%MOZILLA_VERSION%