aboutsummaryrefslogtreecommitdiffstats
path: root/security/nss
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-10-05 02:11:09 +0800
committermarcus <marcus@FreeBSD.org>2009-10-05 02:11:09 +0800
commit29d5de48c55631911177f4bc3e846df1f41e6cfa (patch)
treee97686b630c3f3e7cdb790f84a772a9656249f97 /security/nss
parent01abb45ec591a8ea2f97fc5826be9b1bf709b8ac (diff)
downloadfreebsd-ports-gnome-29d5de48c55631911177f4bc3e846df1f41e6cfa.tar.gz
freebsd-ports-gnome-29d5de48c55631911177f4bc3e846df1f41e6cfa.tar.zst
freebsd-ports-gnome-29d5de48c55631911177f4bc3e846df1f41e6cfa.zip
Fix the permissions of the installed header files.
PR: 139245 Submitted by: Aragon Gouveia <aragon@phat.za.net>
Diffstat (limited to 'security/nss')
-rw-r--r--security/nss/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/security/nss/Makefile b/security/nss/Makefile
index 81c93e63dead..9ca04dca35e0 100644
--- a/security/nss/Makefile
+++ b/security/nss/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nss
PORTVERSION= ${_MAJOR}.${_MINOR}.${_PATCH}
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= security/nss/releases/NSS_${PORTVERSION:S/./_/g}_RTM/src
@@ -93,9 +94,9 @@ post-patch:
.endif
do-install:
- ${MKDIR} ${PREFIX}/include/nss ${PREFIX}/lib/nss
- ${TAR} -C ${DIST}/public --dereference -cf - . | \
- ${TAR} -C ${PREFIX}/include/nss -xf -
+ ${MKDIR} -p ${PREFIX}/include/nss/nss ${PREFIX}/lib/nss
+ ${FIND} ${DIST}/public/nss -type l \
+ -exec ${INSTALL_DATA} {} ${PREFIX}/include/nss/nss \;
${INSTALL_DATA} ${DIST}/FreeBSD${OSREL:C/.$/*/}_OPT.OBJ/lib/*.so.1 \
${PREFIX}/lib/nss
${INSTALL_DATA} ${DIST}/FreeBSD${OSREL:C/.$/*/}_OPT.OBJ/lib/libcrmf.a \