diff options
Diffstat (limited to 'devel/ptl2')
-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; \ |