aboutsummaryrefslogtreecommitdiff
path: root/security/nss
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2013-01-09 23:28:19 +0000
committerFlorian Smeets <flo@FreeBSD.org>2013-01-09 23:28:19 +0000
commitfc9eea721229b0e204127b9da191eb0328b24ebc (patch)
tree6506ed591ae5bac1d34791c00b9064d73becc691 /security/nss
parenta9fe9cfae6cb1729d393185f76fa602631e97bc4 (diff)
downloadports-fc9eea721229b0e204127b9da191eb0328b24ebc.tar.gz
ports-fc9eea721229b0e204127b9da191eb0328b24ebc.zip
Notes
Diffstat (limited to 'security/nss')
-rw-r--r--security/nss/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/security/nss/Makefile b/security/nss/Makefile
index b69af76a06a4..bcb265201720 100644
--- a/security/nss/Makefile
+++ b/security/nss/Makefile
@@ -1,9 +1,5 @@
-# Ports collection Makefile for: nss
-# Date created: 18 December 2001
-# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
-#
+# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
# $FreeBSD$
-# $MCom ports-experimental/security/nss/Makefile,v 1.4 2008/02/23 15:47:28 ahze Exp $
PORTNAME= nss
PORTVERSION= ${_MAJOR}.${_MINOR}.${_PATCH}
@@ -81,6 +77,8 @@ post-patch:
.for i in MAJOR MINOR PATCH
@${SED} -i.${i} -e 's|@${i}@|${_${i}}|' ${WRKDIR}/nss-config
.endfor
+ @${REINPLACE_CMD} '/NSS_DEFAULT_SYSTEM/s,/etc,${PREFIX}&,' \
+ ${WRKSRC}/lib/sysinit/nsssysinit.c
@cd ${WRKSRC} && \
${FIND} . -name "*.c" -o -name "*.h" | \
${XARGS} ${REINPLACE_CMD} -e 's|"nspr.h"|<nspr.h>|'