From 2fa3eb1ae40dee363f0468f6e4c3ac19c1f14beb Mon Sep 17 00:00:00 2001 From: kwm Date: Wed, 17 Oct 2012 14:17:47 +0000 Subject: Add a symlink for libmozjs185.so.1 so adding mozjs185 to LIB_DEPENDS works. Approved by: koobs (maintainer) Feature safe: yes --- lang/spidermonkey185/Makefile | 4 ++++ lang/spidermonkey185/pkg-plist | 1 + 2 files changed, 5 insertions(+) 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 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 -- cgit