diff options
author | heinz <heinz@pkgsrc.org> | 2004-01-27 00:53:10 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2004-01-27 00:53:10 +0000 |
commit | 18a916d5e6481b140ffb5e120e09d36645a44a11 (patch) | |
tree | 0e38a95bbce9b72b902212b13f3fff0a72b2b5fd /devel/ptl2/Makefile | |
parent | d84262f580a6d28b6b7bde5294039c4f6e0999df (diff) | |
download | pkgsrc-18a916d5e6481b140ffb5e120e09d36645a44a11.tar.gz |
Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248
Diffstat (limited to 'devel/ptl2/Makefile')
-rw-r--r-- | devel/ptl2/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/ptl2/Makefile b/devel/ptl2/Makefile index 3d114543f14..37b48ba20f8 100644 --- a/devel/ptl2/Makefile +++ b/devel/ptl2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.42 2003/07/17 21:33:14 grant Exp $ +# $NetBSD: Makefile,v 1.43 2004/01/27 00:53:12 heinz Exp $ DISTNAME= PTL-2.1.9 PKGNAME= ptl-2.1.9 @@ -18,18 +18,18 @@ PLIST_SRC= ${WRKDIR}/PLIST post-install: @${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/PTL/include - @${FIND} ${PREFIX}/PTL/include -type f -name "*.orig" | ${XARGS} ${RM} + @${FIND} ${PREFIX}/PTL/include -type f -name "*.orig" -print | ${XARGS} ${RM} @${FIND} ${PREFIX}/PTL/include -type d -print | ${XARGS} ${CHMOD} 755 @${FIND} ${PREFIX}/PTL/include -type f -print | ${XARGS} ${CHMOD} 444 @${CP} ${PKGDIR}/PLIST ${PLIST_SRC} @cd ${PREFIX}; \ - ${FIND} PTL -type f >>${PLIST_SRC}; \ - for LINK in `${FIND} PTL -type l`; do \ + ${FIND} PTL -type f -print >>${PLIST_SRC}; \ + for LINK in `${FIND} PTL -type l -print`; do \ set - X `${FILE_CMD} $$LINK`; \ ${ECHO} "@exec ${LN} -s $$6 %D/$$LINK" >>${PLIST_SRC}; \ ${ECHO} "@unexec ${RM} -f %D/$$LINK" >>${PLIST_SRC}; \ done; \ - for DIR in `${FIND} PTL -type d | sort -r`; do \ + for DIR in `${FIND} PTL -type d -print | sort -r`; do \ if [ -z "`ls $$DIR`" ]; then \ ${ECHO} "@exec ${MKDIR} %D/$$DIR" >>${PLIST_SRC}; \ fi; \ |