[SVN-Commit] r1173 - trunk/security/nss

svn-freebsd-gecko at chruetertee.ch svn-freebsd-gecko at chruetertee.ch
Mon Feb 18 22:53:48 UTC 2013


Author: jbeich
Date: Mon Feb 18 22:53:35 2013
New Revision: 1173

Log:
avoid trivial regexp

Modified:
   trunk/security/nss/Makefile

Modified: trunk/security/nss/Makefile
==============================================================================
--- trunk/security/nss/Makefile	Sat Feb 16 15:46:29 2013	(r1172)
+++ trunk/security/nss/Makefile	Mon Feb 18 22:53:35 2013	(r1173)
@@ -29,7 +29,7 @@
 CFLAGS+=	-I${LOCALBASE}/include/nspr -L${LOCALBASE}/lib
 
 SUB_FILES=	nss-config nss.pc
-SUB_LIST=	MAJOR_VERSION=${PORTVERSION:C/\..*//} \
+SUB_LIST=	MAJOR_VERSION=${PORTVERSION:R:R} \
 		PORTVERSION=${PORTVERSION}
 
 DIST=		${WRKSRC:H:H}/dist


More information about the freebsd-gecko mailing list