Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2014 20:25:32 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347314 - head/lang/spidermonkey185
Message-ID:  <201403062025.s26KPWkv085578@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Thu Mar  6 20:25:32 2014
New Revision: 347314
URL: http://svnweb.freebsd.org/changeset/ports/347314
QAT: https://qat.redports.org/buildarchive/r347314/

Log:
  Stagify, overwrite symlinks otherwise they point into the stagedir.
  Use new LIB_DEPENDS syntax.

Modified:
  head/lang/spidermonkey185/Makefile

Modified: head/lang/spidermonkey185/Makefile
==============================================================================
--- head/lang/spidermonkey185/Makefile	Thu Mar  6 20:24:29 2014	(r347313)
+++ head/lang/spidermonkey185/Makefile	Thu Mar  6 20:25:32 2014	(r347314)
@@ -13,7 +13,7 @@ MAINTAINER=		koobs@FreeBSD.org
 COMMENT=		Standalone JavaScript (1.8.5) interpreter from Mozilla
 
 BUILD_DEPENDS=		zip:${PORTSDIR}/archivers/zip
-LIB_DEPENDS=		nspr4:${PORTSDIR}/devel/nspr
+LIB_DEPENDS=		libnspr4.so:${PORTSDIR}/devel/nspr
 
 CONFLICTS=		njs-[0-9]*
 
@@ -30,7 +30,6 @@ CONFIGURE_ARGS=		--with-pthreads \
 			--with-system-nspr
 
 # This comes from bsd.gecko.mk, fixes linking issues on 9.0 and higher.
-NO_STAGE=	yes
 post-configure:
 	${ECHO_CMD} "fenv.h" >> ${WRKSRC}/config/system-headers
 	${ECHO_CMD} "pthread_np.h" >> ${WRKSRC}/config/system-headers
@@ -165,6 +164,9 @@ regression-test: build
 .endif
 
 post-install:
-	${LN} -s libmozjs185.so.1.0 ${PREFIX}/lib/libmozjs185.so.1
+	${LN} -sf libmozjs185.so.1.0.0 ${STAGEDIR}${PREFIX}/lib/libmozjs185.so
+	${LN} -sf libmozjs185.so.1.0.0 ${STAGEDIR}${PREFIX}/lib/libmozjs185.so.1
+	${LN} -sf libmozjs185.so.1.0.0 ${STAGEDIR}${PREFIX}/lib/libmozjs185.so.1.0
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmozjs185.so.1.0.0
 
 .include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403062025.s26KPWkv085578>