diff options
author | marcus <marcus@FreeBSD.org> | 2010-11-22 02:17:03 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2010-11-22 02:17:03 +0800 |
commit | 3108016ff1fb88c87ac7039098537cc9b3775e3c (patch) | |
tree | d1de45d455cc08b77c0ad90425f9080ec5291375 /devel/nspr | |
parent | 1b51a822e0cc9f747d8b13fe12e0892c978a18ae (diff) | |
download | freebsd-ports-gnome-3108016ff1fb88c87ac7039098537cc9b3775e3c.tar.gz freebsd-ports-gnome-3108016ff1fb88c87ac7039098537cc9b3775e3c.tar.zst freebsd-ports-gnome-3108016ff1fb88c87ac7039098537cc9b3775e3c.zip |
* Respect STRIP to allow for debugging builds
* Reset ownership to the user installing even for top dirs
PR: 152266
Submitted by: Anonymous <swell.k@gmail.com>
Diffstat (limited to 'devel/nspr')
-rw-r--r-- | devel/nspr/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/devel/nspr/Makefile b/devel/nspr/Makefile index 1a0b36a97167..1938d21832bc 100644 --- a/devel/nspr/Makefile +++ b/devel/nspr/Makefile @@ -43,21 +43,20 @@ post-patch: 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} + ${TAR} -C ${PREFIX}/include -xof - ${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 - + ${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 .for lib in ${LIBS} +.if defined(STRIP) && ${STRIP} != "" ${STRIP_CMD} ${PREFIX}/lib/${lib} - ${CHOWN} ${BINOWN}:${BINGRP} ${PREFIX}/lib/${lib} +.endif ${CHMOD} ${BINMODE} ${PREFIX}/lib/${lib} ${LN} -sf ${lib} ${PREFIX}/lib/${lib:R} .endfor |