pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

spidermonkey31: Install missing file



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Thu Oct 13 11:04:09 2016 +0200
Changeset:	fcc4899b6b64e7bfb748277006eed5fbd952add5

Modified Files:
	spidermonkey31/Makefile
	spidermonkey31/PLIST

Log Message:
spidermonkey31: Install missing file

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fcc4899b6b64e7bfb748277006eed5fbd952add5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 spidermonkey31/Makefile | 3 +++
 spidermonkey31/PLIST    | 1 +
 2 files changed, 4 insertions(+)

diffs:
diff --git a/spidermonkey31/Makefile b/spidermonkey31/Makefile
index fc860f5..0f57ab2 100644
--- a/spidermonkey31/Makefile
+++ b/spidermonkey31/Makefile
@@ -61,8 +61,11 @@ post-install:
 	${CHMOD} -x ${DESTDIR}${PREFIX}/include/mozjs-31/*/*.*
 	${CHMOD} -x ${DESTDIR}${PREFIX}/lib/libmozjs-31.a
 	${CHMOD} -x ${DESTDIR}${PREFIX}/lib/pkgconfig/mozjs-31.pc
+# Remove conflict with alternative spidermonkey releases
 	${MV} ${DESTDIR}${PREFIX}/bin/js ${DESTDIR}${PREFIX}/bin/js31
 	${MV} ${DESTDIR}${PREFIX}/bin/js-config ${DESTDIR}${PREFIX}/bin/js31-config
+# Install missing files
+	${CP} ${WRKSRC}/js/src/js-config.h ${DESTDIR}${PREFIX}/include/mozjs-31/
 
 PYTHON_VERSIONS_ACCEPTED=	27
 PYTHON_FOR_BUILD_ONLY=		yes
diff --git a/spidermonkey31/PLIST b/spidermonkey31/PLIST
index dfe2dce..34c08d9 100644
--- a/spidermonkey31/PLIST
+++ b/spidermonkey31/PLIST
@@ -1,6 +1,7 @@
 @comment $NetBSD$
 bin/js31
 bin/js31-config
+include/mozjs-31/js-config.h
 include/mozjs-31/js.msg
 include/mozjs-31/js/Anchor.h
 include/mozjs-31/js/CallArgs.h


Home | Main Index | Thread Index | Old Index