Bug 183280 - Update devel/nspr to version 4.10.1
Summary: Update devel/nspr to version 4.10.1
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gecko (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-24 20:10 UTC by Pedro F. Giffuni
Modified: 2013-10-24 21:11 UTC (History)
0 users

See Also:


Attachments
file.diff (970 bytes, patch)
2013-10-24 20:10 UTC, Pedro F. Giffuni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni 2013-10-24 20:10:00 UTC
This is a bugfix release. The only relevant change is:

Bug 907512: Unix platforms shouldn't mask errors specific to Unix
domain sockets.  Fixed by Jim Blandy.

Add license (MPL) while here.

Fix: We still pass all tests.

Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer 2013-10-24 20:10:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gecko

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2013-10-24 21:08:30 UTC
Author: flo
Date: Thu Oct 24 20:08:22 2013
New Revision: 331527
URL: http://svnweb.freebsd.org/changeset/ports/331527

Log:
  - update to 4.10.1 [1]
  - support stage
  - switch to USES
  
  PR:		ports/183280 [1]
  Submitted by:	pfg [1]

Modified:
  head/devel/nspr/Makefile
  head/devel/nspr/distinfo

Modified: head/devel/nspr/Makefile
==============================================================================
--- head/devel/nspr/Makefile	Thu Oct 24 20:07:01 2013	(r331526)
+++ head/devel/nspr/Makefile	Thu Oct 24 20:08:22 2013	(r331527)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	nspr
-DISTVERSION=	4.10
+DISTVERSION=	4.10.1
 CATEGORIES=	devel
 MASTER_SITES=	MOZILLA/${PORTNAME}/releases/v${PORTVERSION}/src
 
@@ -11,8 +11,8 @@ COMMENT=	A platform-neutral API for syst
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/nspr/build
 
+USES=		gmake
 USE_LDCONFIG=	yes
-USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_SCRIPT=../configure
 CONFIGURE_ARGS=	--srcdir=${WRKSRC:H}
@@ -21,7 +21,6 @@ MAKE_ENV=	DIST=${WRKSRC}/dist
 
 LIBS=		libnspr4.so.1 libplc4.so.1 libplds4.so.1
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 .if ${ARCH} == "arm"
@@ -33,24 +32,24 @@ CONFIGURE_ARGS+=--disable-debug
 .endif
 
 do-install:
-	${MKDIR} ${PREFIX}/include/nspr
+	${MKDIR} ${STAGEDIR}${PREFIX}/include/nspr
 	${TAR} -C ${WRKSRC}/dist/include --dereference -cf - . | \
-	    	${TAR} -C ${PREFIX}/include -xof -
-	${FIND} ${PREFIX}/include/nspr -type d | \
+	    	${TAR} -C ${STAGEDIR}${PREFIX}/include -xof -
+	${FIND} ${STAGEDIR}${PREFIX}/include/nspr -type d | \
 	    	${XARGS} ${CHMOD} 0755
-	${FIND} ${PREFIX}/include/nspr -type f | \
+	${FIND} ${STAGEDIR}${PREFIX}/include/nspr -type f | \
 	    	${XARGS} ${CHMOD} ${SHAREMODE}
 	${TAR} -C ${WRKSRC}/dist/lib --dereference -cf - . | \
-	    	${TAR} -C ${PREFIX}/lib -xof -
-	${INSTALL_SCRIPT} ${WRKSRC}/config/nspr-config ${PREFIX}/bin
-	${MKDIR} ${PREFIX}/libdata/pkgconfig
-	${INSTALL_DATA} ${WRKSRC}/config/nspr.pc ${PREFIX}/libdata/pkgconfig
+	    	${TAR} -C ${STAGEDIR}${PREFIX}/lib -xof -
+	${INSTALL_SCRIPT} ${WRKSRC}/config/nspr-config ${STAGEDIR}${PREFIX}/bin
+	${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig
+	${INSTALL_DATA} ${WRKSRC}/config/nspr.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig
 .for lib in ${LIBS}
 .if defined(STRIP) && ${STRIP} != ""
-	${STRIP_CMD} ${PREFIX}/lib/${lib}
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${lib}
 .endif
-	${CHMOD} ${BINMODE} ${PREFIX}/lib/${lib}
-	${LN} -sf ${lib} ${PREFIX}/lib/${lib:R}
+	${CHMOD} ${BINMODE} ${STAGEDIR}${PREFIX}/lib/${lib}
+	${LN} -sf ${lib} ${STAGEDIR}${PREFIX}/lib/${lib:R}
 .endfor
 
 prtests:

Modified: head/devel/nspr/distinfo
==============================================================================
--- head/devel/nspr/distinfo	Thu Oct 24 20:07:01 2013	(r331526)
+++ head/devel/nspr/distinfo	Thu Oct 24 20:08:22 2013	(r331527)
@@ -1,2 +1,2 @@
-SHA256 (nspr-4.10.tar.gz) = 0cfbe561676b92e5af3ddc7ac77452014e3da8885da66baec811e7354138cc16
-SIZE (nspr-4.10.tar.gz) = 1103862
+SHA256 (nspr-4.10.1.tar.gz) = 0c2f8dc265f1e9b2600fd519430a1f960799888857bbb1538343a1b16ba41b20
+SIZE (nspr-4.10.1.tar.gz) = 1102858
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Florian Smeets freebsd_committer 2013-10-24 21:11:16 UTC
State Changed
From-To: open->closed

Committed. Thanks!