aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2012-10-17 22:17:47 +0800
committerkwm <kwm@FreeBSD.org>2012-10-17 22:17:47 +0800
commit2fa3eb1ae40dee363f0468f6e4c3ac19c1f14beb (patch)
tree5318891549bd1d840f8bd2fbeda1052939e32a84
parent6119e5abd69d3c9a2368d1388d9b77a2eb7a907b (diff)
downloadfreebsd-ports-gnome-2fa3eb1ae40dee363f0468f6e4c3ac19c1f14beb.tar.gz
freebsd-ports-gnome-2fa3eb1ae40dee363f0468f6e4c3ac19c1f14beb.tar.zst
freebsd-ports-gnome-2fa3eb1ae40dee363f0468f6e4c3ac19c1f14beb.zip
Add a symlink for libmozjs185.so.1 so adding mozjs185 to LIB_DEPENDS works.
Approved by: koobs (maintainer) Feature safe: yes
-rw-r--r--lang/spidermonkey185/Makefile4
-rw-r--r--lang/spidermonkey185/pkg-plist1
2 files changed, 5 insertions, 0 deletions
diff --git a/lang/spidermonkey185/Makefile b/lang/spidermonkey185/Makefile
index 76f178bc4da5..918ed09280bf 100644
--- a/lang/spidermonkey185/Makefile
+++ b/lang/spidermonkey185/Makefile
@@ -3,6 +3,7 @@
PORTNAME= spidermonkey185
PORTVERSION= 1.8.5
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= js
@@ -160,4 +161,7 @@ regression-test: build
--no-progress --jitflags=,m,j,mj,mjp,am,amj,amjp,amd ./js
.endif
+post-install:
+ ${LN} -s libmozjs185.so.1.0 ${PREFIX}/lib/libmozjs185.so.1
+
.include <bsd.port.post.mk>
diff --git a/lang/spidermonkey185/pkg-plist b/lang/spidermonkey185/pkg-plist
index 16f6b4a20717..38fea4e20149 100644
--- a/lang/spidermonkey185/pkg-plist
+++ b/lang/spidermonkey185/pkg-plist
@@ -102,6 +102,7 @@ lib/libmozjs185.so
lib/libmozjs185-1.0.a
lib/libmozjs185.so.1.0.0
lib/libmozjs185.so.1.0
+lib/libmozjs185.so.1
libdata/pkgconfig/mozjs185.pc
@dirrmtry libdata/pkgconfig
@dirrm include/js