pkgsrc-WIP-changes archive

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

Fix Darwin installation.

Module Name:	pkgsrc-wip
Committed By:	youri <>
Pushed By:	youri
Date:		Fri Apr 1 15:00:12 2016 +0200
Changeset:	c1ffd177900dbb57b306d3b4b4b43752190e178d

Modified Files:

Log Message:
Fix Darwin installation.

To see a diff of this commit:;a=commitdiff;h=c1ffd177900dbb57b306d3b4b4b43752190e178d

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

 spidermonkey17/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/spidermonkey17/Makefile b/spidermonkey17/Makefile
index 106d8a3..c620e6f 100644
--- a/spidermonkey17/Makefile
+++ b/spidermonkey17/Makefile
@@ -27,8 +27,13 @@ PKGCONFIG_OVERRIDE+=	js/src/
 TEST_TARGET=		check
-# Adjust file permissions
+.include "../../mk/"
+.if ${OPSYS} == "Darwin"
+	install_name_tool -id ${PREFIX}/lib/libmozjs-17.0.dylib \
+		${DESTDIR}${PREFIX}/lib/libmozjs-17.0.dylib
 	${CHMOD} -x ${DESTDIR}${PREFIX}/include/js-17.0/*.*
 	${CHMOD} -x ${DESTDIR}${PREFIX}/include/js-17.0/*/*.*
 	${CHMOD} -x ${DESTDIR}${PREFIX}/lib/libmozjs-17.0.a

Home | Main Index | Thread Index | Old Index