From 022eb86624280ef9db72559a99f9253a3d003132 Mon Sep 17 00:00:00 2001 From: heinz Date: Tue, 27 Jan 2004 00:53:10 +0000 Subject: Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248 --- devel/mit-pthreads/Makefile | 4 ++-- devel/ptl2/Makefile | 10 +++++----- devel/rt-mysql/Makefile.common | 4 ++-- devel/stlport/Makefile | 4 ++-- devel/unproven-pthreads/Makefile | 4 ++-- 5 files changed, 13 insertions(+), 13 deletions(-) (limited to 'devel') diff --git a/devel/mit-pthreads/Makefile b/devel/mit-pthreads/Makefile index b547d8f7bf9..7216c73e1cf 100644 --- a/devel/mit-pthreads/Makefile +++ b/devel/mit-pthreads/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2003/07/17 21:31:50 grant Exp $ +# $NetBSD: Makefile,v 1.39 2004/01/27 00:53:12 heinz Exp $ # DISTNAME= pthreads-1_60_beta6 @@ -40,7 +40,7 @@ pre-install: post-install: @${RM} -f ${PREFIX}/pthreads/lib/libpthread_pic.a - @${FIND} ${PREFIX}/pthreads/include -name '*.orig' | ${XARGS} ${RM} + @${FIND} ${PREFIX}/pthreads/include -name '*.orig' -print | ${XARGS} ${RM} @${FIND} ${PREFIX}/pthreads/include -type f -print | ${XARGS} ${CHMOD} 644 @${FIND} ${PREFIX}/pthreads/include -type d -print | ${XARGS} ${CHMOD} 755 @${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/pthreads/include 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; \ diff --git a/devel/rt-mysql/Makefile.common b/devel/rt-mysql/Makefile.common index a87d7ae8987..5e62ef3b457 100644 --- a/devel/rt-mysql/Makefile.common +++ b/devel/rt-mysql/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.4 2003/07/17 21:33:37 grant Exp $ +# $NetBSD: Makefile.common,v 1.5 2004/01/27 00:53:10 heinz Exp $ DISTNAME= rt-2-0-13 CATEGORIES= devel @@ -90,7 +90,7 @@ DEPENDS+= p5-Apache-DBI-[0-9]*:../../databases/p5-Apache-DBI pre-configure: @${ECHO} "=> Removing CVS directories from work directory" - @${FIND} ${WRKSRC} -name CVS -type d | ${XARGS} ${RM} -rf + @${FIND} ${WRKSRC} -name CVS -type d -print | ${XARGS} ${RM} -rf @${CP} ${FILESDIR}/rtconfig ${WRKSRC}/rtconfig @${CP} ${FILESDIR}/README ${WRKSRC}/README.pkg @cd ${WRKSRC} ; \ diff --git a/devel/stlport/Makefile b/devel/stlport/Makefile index 36be662834e..e7df9410dea 100644 --- a/devel/stlport/Makefile +++ b/devel/stlport/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2004/01/22 08:24:31 grant Exp $ +# $NetBSD: Makefile,v 1.15 2004/01/27 00:53:12 heinz Exp $ DISTNAME= STLport-4.6 PKGNAME= stlport-4.6 @@ -28,7 +28,7 @@ HTMLDIR= ${PREFIX}/share/doc/html/stlport pre-install: cd ${WRKSRC}/stlport && ${RM} -rf BC50 config/new_compiler old_hp - ${FIND} ${WRKSRC}/stlport -name "*.orig" | ${XARGS} ${RM} -f + ${FIND} ${WRKSRC}/stlport -name "*.orig" -print | ${XARGS} ${RM} -f do-install: cd ${WRKSRC} && ${PAX} -rw stlport ${PREFIX}/include diff --git a/devel/unproven-pthreads/Makefile b/devel/unproven-pthreads/Makefile index 9b0c412f164..8ef53291b56 100644 --- a/devel/unproven-pthreads/Makefile +++ b/devel/unproven-pthreads/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.38 2003/07/17 21:34:16 grant Exp $ +# $NetBSD: Makefile,v 1.39 2004/01/27 00:53:12 heinz Exp $ # DISTNAME= unproven-pthreads-0.17 @@ -44,7 +44,7 @@ do-install: post-install: @${RM} -f ${PREFIX}/pthreads/lib/libpthread_pic.a - @${FIND} ${PREFIX}/pthreads/include -name '*.orig' | ${XARGS} ${RM} + @${FIND} ${PREFIX}/pthreads/include -name '*.orig' -print | ${XARGS} ${RM} @${FIND} ${PREFIX}/pthreads/include -type f -print | ${XARGS} ${CHMOD} 644 @${FIND} ${PREFIX}/pthreads/include -type d -print | ${XARGS} ${CHMOD} 755 @${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/pthreads/include -- cgit v1.2.3