1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/lang/spidermonkey38/files/patch-bug702179
Koop Mast 7b5f2965cf Add spidermonkey 38 aka mozjs 3.8.
Spidermonkey is mozilla's JavaScript engine. This version is based
on the last release of firefox esr; 38.8.0. This is done because
the stand alone release aren't done often enough. I copied this idea
from the fedora spidermonkey38 spec file.

Probably due to the fact that spidermonkey in the firefox tarball isn't
intended to be installed standalone we need to manualy replace the header
symlinks in the stage dir with the actual header files.

Thanks to miki and streja for build testing on armv6 and aarch64.
2017-06-09 20:08:54 +00:00

19 lines
410 B
Plaintext

--- Makefile.in.orig 2017-06-05 19:05:02 UTC
+++ Makefile.in
@@ -208,10 +208,13 @@ endif
SCRIPTS = $(JS_CONFIG_NAME)
SDK_BINARY = $(JS_CONFIG_NAME)
-$(LIBRARY_NAME).pc: js.pc
+$(JS_CONFIG_NAME): js-config
cp $^ $@
-install:: $(LIBRARY_NAME).pc
+$(JS_LIBRARY_NAME).pc: js.pc
+ cp $^ $@
+
+install:: $(JS_LIBRARY_NAME).pc
$(SYSINSTALL) $^ $(DESTDIR)$(prefix)/libdata/pkgconfig
install:: js-config.h