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 <youri%NetBSD.org@localhost>
Pushed By:	youri
Date:		Fri Apr 1 15:00:12 2016 +0200
Changeset:	c1ffd177900dbb57b306d3b4b4b43752190e178d

Modified Files:
	spidermonkey17/Makefile

Log Message:
Fix Darwin installation.

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

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

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

diffs:
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/js.pc.in
 
 TEST_TARGET=		check
 
-# Adjust file permissions
+.include "../../mk/bsd.prefs.mk"
+
 post-install:
+.if ${OPSYS} == "Darwin"
+	install_name_tool -id ${PREFIX}/lib/libmozjs-17.0.dylib \
+		${DESTDIR}${PREFIX}/lib/libmozjs-17.0.dylib
+.endif
 	${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