diff options
author | marcus <marcus@FreeBSD.org> | 2009-10-19 02:05:38 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2009-10-19 02:05:38 +0800 |
commit | f2337f74e8629e0719c9d0c40fde732433028105 (patch) | |
tree | 29194eec116cf08b511539ec38d0436add743f1b /devel | |
parent | 23dcd6d8042cb2df476bbee3f319c56649cd2eac (diff) | |
download | freebsd-ports-gnome-f2337f74e8629e0719c9d0c40fde732433028105.tar.gz freebsd-ports-gnome-f2337f74e8629e0719c9d0c40fde732433028105.tar.zst freebsd-ports-gnome-f2337f74e8629e0719c9d0c40fde732433028105.zip |
Fix the permissions on installed libraries and headers.
Reported by: Sprewell <sprewell@jaggeri.com>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/nspr/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/nspr/Makefile b/devel/nspr/Makefile index 5f3aed627ac2..3d417b98a0ca 100644 --- a/devel/nspr/Makefile +++ b/devel/nspr/Makefile @@ -7,6 +7,7 @@ PORTNAME= nspr DISTVERSION= 4.8 +PORTREVISION= 1 CATEGORIES= devel #MASTER_SITES= LOCAL/ahze MASTER_SITES= ${MASTER_SITE_MOZILLA} @@ -43,12 +44,21 @@ do-install: ${MKDIR} ${PREFIX}/include/nspr ${TAR} -C ${WRKSRC}/dist/include --dereference -cf - . | \ ${TAR} -C ${PREFIX}/include -xf - + ${FIND} ${PREFIX}/include/nspr | \ + ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP} + ${FIND} ${PREFIX}/include/nspr -type d | \ + ${XARGS} ${CHMOD} 0755 + ${FIND} ${PREFIX}/include/nspr -type f | \ + ${XARGS} ${CHMOD} ${SHAREMODE} ${TAR} -C ${WRKSRC}/dist/lib --dereference -cf - . | \ ${TAR} -C ${PREFIX}/lib -xf - ${INSTALL_SCRIPT} ${WRKSRC}/config/nspr-config ${PREFIX}/bin ${MKDIR} ${PREFIX}/libdata/pkgconfig ${INSTALL_DATA} ${WRKSRC}/config/nspr.pc ${PREFIX}/libdata/pkgconfig .for lib in ${LIBS} + ${STRIP_CMD} ${PREFIX}/lib/${lib} + ${CHOWN} ${BINOWN}:${BINGRP} ${PREFIX}/lib/${lib} + ${CHMOD} ${BINMODE} ${PREFIX}/lib/${lib} ${LN} -sf ${lib} ${PREFIX}/lib/${lib:R} .endfor |