pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc Use $FIND with "-print". Noted by Georg Schwarz in PR ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0b51e45babe8
branches: trunk
changeset: 467212:0b51e45babe8
user: heinz <heinz%pkgsrc.org@localhost>
date: Tue Jan 27 00:53:10 2004 +0000
description:
Use $FIND with "-print". Noted by Georg Schwarz in PR pkg/24248
diffstat:
audio/festvox-abc/Makefile | 4 ++--
audio/nas/Makefile | 4 ++--
benchmarks/bytebench/Makefile | 4 ++--
comms/fidogate/Makefile | 6 +++---
cross/i386-msdosdjgpp/Makefile | 4 ++--
databases/unixodbc/Makefile.common | 6 +++---
devel/mit-pthreads/Makefile | 4 ++--
devel/ptl2/Makefile | 10 +++++-----
devel/rt-mysql/Makefile.common | 4 ++--
devel/stlport/Makefile | 4 ++--
devel/unproven-pthreads/Makefile | 4 ++--
editors/emacs-nox11/Makefile | 4 ++--
editors/emacs/Makefile | 4 ++--
editors/emacs20/Makefile | 4 ++--
editors/xemacs/Makefile | 4 ++--
emulators/linux-locale/Makefile | 4 ++--
fonts/t1lib/Makefile | 4 ++--
games/craft/Makefile | 6 +++---
games/iso-pernangband/Makefile | 4 ++--
games/mirrormagic-sdl/Makefile | 6 +++---
games/mirrormagic/Makefile | 6 +++---
games/pysol/Makefile | 6 +++---
games/rocksndiamonds-levels/Makefile | 4 ++--
games/rollemup/Makefile | 6 +++---
games/tuxmath/Makefile | 4 ++--
graphics/aalib-x11/Makefile | 4 ++--
graphics/aalib/Makefile.common | 4 ++--
graphics/tcm/Makefile | 4 ++--
graphics/urt/Makefile | 4 ++--
inputmethod/canna-dict/Makefile | 4 ++--
inputmethod/ja-freewnn-lib/Makefile.common | 8 ++++----
inputmethod/sj3-server-bin/Makefile | 4 ++--
lang/bwbasic/Makefile | 6 +++---
lang/drscheme/Makefile | 4 ++--
lang/mercury/Makefile | 6 +++---
lang/nhc98/Makefile | 4 ++--
lang/sather/Makefile | 4 ++--
mail/wl/Makefile | 4 ++--
math/octave/Makefile | 4 ++--
misc/linuxls/Makefile | 4 ++--
misc/tds/Makefile | 4 ++--
net/sitescooper/Makefile | 4 ++--
net/xipdump/Makefile | 4 ++--
print/texfamily-share/Makefile | 8 ++++----
security/cyrus-sasl2/Makefile.common | 4 ++--
security/netramet/Makefile | 4 ++--
sysutils/tkdesk/Makefile | 4 ++--
textproc/dict-dictionaries/Makefile | 4 ++--
textproc/rtf-tools/Makefile | 4 ++--
textproc/troffcvt/Makefile | 4 ++--
textproc/xalan-c/Makefile | 4 ++--
wm/enlightenment/Makefile | 6 +++---
wm/ethemes/Makefile | 6 +++---
www/w3m/Makefile.common | 4 ++--
x11/mlterm/Makefile | 4 ++--
x11/py-Pmw/Makefile | 6 +++---
x11/rep-gtk/Makefile | 6 +++---
x11/xjman/Makefile | 6 +++---
x11/xservers/Makefile | 6 +++---
59 files changed, 140 insertions(+), 140 deletions(-)
diffs (truncated from 1153 to 300 lines):
diff -r 176249ed3bf3 -r 0b51e45babe8 audio/festvox-abc/Makefile
--- a/audio/festvox-abc/Makefile Mon Jan 26 22:32:30 2004 +0000
+++ b/audio/festvox-abc/Makefile Tue Jan 27 00:53:10 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2004/01/20 12:07:42 agc Exp $
+# $NetBSD: Makefile,v 1.17 2004/01/27 00:53:12 heinz Exp $
DISTNAME= voice_abc_di-2.0
PKGNAME= festvox-abc-2.0
@@ -24,7 +24,7 @@
${CHMOD} -R a+r ${WRKSRC}
${FIND} ${WRKSRC} -type d -print | ${XARGS} ${CHMOD} 755
${RM} -f ${WRKSRC}/lib/voices/spanish/abc_diphone/group/hvslpcOGI16k.group
- ${FIND} ${WRKSRC} -type d -name CVS | ${XARGS} ${RM} -fr
+ ${FIND} ${WRKSRC} -type d -name CVS -print | ${XARGS} ${RM} -fr
do-install:
${INSTALL_DATA_DIR} ${FHOME}
diff -r 176249ed3bf3 -r 0b51e45babe8 audio/nas/Makefile
--- a/audio/nas/Makefile Mon Jan 26 22:32:30 2004 +0000
+++ b/audio/nas/Makefile Tue Jan 27 00:53:10 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2004/01/20 12:07:43 agc Exp $
+# $NetBSD: Makefile,v 1.40 2004/01/27 00:53:12 heinz Exp $
DISTNAME= nas-1.6.src
PKGNAME= ${DISTNAME:S/.src//}
@@ -26,7 +26,7 @@
REPLACE_PERL= clients/audio/auscope/auscope
post-patch:
- @for f in `${FIND} ${WRKSRC} -name '*.[ch]'`; do \
+ @for f in `${FIND} ${WRKSRC} -name '*.[ch]' -print`; do \
${SED} -e "s|<malloc.h>|<stdlib.h>|g" $$f > $$f.patch \
&& ${MV} $$f.patch $$f; \
done
diff -r 176249ed3bf3 -r 0b51e45babe8 benchmarks/bytebench/Makefile
--- a/benchmarks/bytebench/Makefile Mon Jan 26 22:32:30 2004 +0000
+++ b/benchmarks/bytebench/Makefile Tue Jan 27 00:53:10 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2003/01/28 22:03:05 jlam Exp $
+# $NetBSD: Makefile,v 1.14 2004/01/27 00:53:12 heinz Exp $
DISTNAME= unixbench-4.1.0
PKGNAME= bytebench-4.1.0
@@ -27,7 +27,7 @@
${CHMOD} +x ${WRKSRC}/run-byte
pre-install:
- ${FIND} ${WRKSRC} -name "*.orig" | ${XARGS} ${RM} -f
+ ${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/libexec/bytebench
diff -r 176249ed3bf3 -r 0b51e45babe8 comms/fidogate/Makefile
--- a/comms/fidogate/Makefile Mon Jan 26 22:32:30 2004 +0000
+++ b/comms/fidogate/Makefile Tue Jan 27 00:53:10 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2004/01/22 07:51:12 grant Exp $
+# $NetBSD: Makefile,v 1.30 2004/01/27 00:53:12 heinz Exp $
#
DISTNAME= fidogate-4.4.5
@@ -54,9 +54,9 @@
${INSTALL_DATA_DIR} ${PREFIX}/share/fidogate/sendmail/mailer
post-install:
- cd ${WRKSRC}/examples && for f in `${FIND} [m-p]* -type d`; do \
+ cd ${WRKSRC}/examples && for f in `${FIND} [m-p]* -type d -print`; do \
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/fidogate/$$f; done
- cd ${WRKSRC}/examples && for f in `${FIND} README [m-p]* -type f`; do \
+ cd ${WRKSRC}/examples && for f in `${FIND} README [m-p]* -type f -print`; do \
${INSTALL_DATA} $$f ${PREFIX}/share/examples/fidogate/$$f; done
cd ${WRKSRC}/sendmail/mailer && ${INSTALL_DATA} ffx.m4 ftn.m4 \
${PREFIX}/share/fidogate/sendmail/mailer
diff -r 176249ed3bf3 -r 0b51e45babe8 cross/i386-msdosdjgpp/Makefile
--- a/cross/i386-msdosdjgpp/Makefile Mon Jan 26 22:32:30 2004 +0000
+++ b/cross/i386-msdosdjgpp/Makefile Tue Jan 27 00:53:10 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2004/01/20 12:10:55 agc Exp $
+# $NetBSD: Makefile,v 1.18 2004/01/27 00:53:12 heinz Exp $
#
DISTVERSION= 2.02.0
@@ -35,7 +35,7 @@
for file in ${DJGPP_FILES}; do \
unzip -Loq ${_DISTDIR}/$$file; \
done; \
- for file in `${FIND} include -type f`; do \
+ for file in `${FIND} include -type f -print`; do \
${CAT} $$file | col >$$file.new; \
${MV} -f $$file.new $$file; \
done
diff -r 176249ed3bf3 -r 0b51e45babe8 databases/unixodbc/Makefile.common
--- a/databases/unixodbc/Makefile.common Mon Jan 26 22:32:30 2004 +0000
+++ b/databases/unixodbc/Makefile.common Tue Jan 27 00:53:10 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.10 2003/07/17 21:29:09 grant Exp $
+# $NetBSD: Makefile.common,v 1.11 2004/01/27 00:53:10 heinz Exp $
DISTNAME= unixODBC-${ODBC_DIST_VERS}
PKGREVISION= 1
@@ -42,7 +42,7 @@
fix-driver-installation:
cd ${WRKSRC}; \
- files=`${FIND} ODBCConfig DRVConfig Drivers -name Makefile.in`; \
+ files=`${FIND} ODBCConfig DRVConfig Drivers -name Makefile.in -print`;\
for file in $${files}; do \
${SED} -e "s|^\(libdir =\).*|\1 ${PREFIX}/${UNIXODBC_DRIVERS_DIR}|g" \
$${file} >> $${file}.fixed; \
@@ -51,7 +51,7 @@
fix-ltdl-and-lexlib:
cd ${WRKSRC}; \
- files=`${FIND} . -name Makefile.in`; \
+ files=`${FIND} . -name Makefile.in -print`; \
for file in $${files}; do \
${SED} -e "/DEPENDENCIES/s|\$$(LIBLTDL)||g" \
-e "/LIBADD/s|@LEXLIB@|\$$(LEXLIB)|g" \
diff -r 176249ed3bf3 -r 0b51e45babe8 devel/mit-pthreads/Makefile
--- a/devel/mit-pthreads/Makefile Mon Jan 26 22:32:30 2004 +0000
+++ b/devel/mit-pthreads/Makefile Tue Jan 27 00:53:10 2004 +0000
@@ -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 @@
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 -r 176249ed3bf3 -r 0b51e45babe8 devel/ptl2/Makefile
--- a/devel/ptl2/Makefile Mon Jan 26 22:32:30 2004 +0000
+++ b/devel/ptl2/Makefile Tue Jan 27 00:53:10 2004 +0000
@@ -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 @@
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 -r 176249ed3bf3 -r 0b51e45babe8 devel/rt-mysql/Makefile.common
--- a/devel/rt-mysql/Makefile.common Mon Jan 26 22:32:30 2004 +0000
+++ b/devel/rt-mysql/Makefile.common Tue Jan 27 00:53:10 2004 +0000
@@ -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 @@
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 -r 176249ed3bf3 -r 0b51e45babe8 devel/stlport/Makefile
--- a/devel/stlport/Makefile Mon Jan 26 22:32:30 2004 +0000
+++ b/devel/stlport/Makefile Tue Jan 27 00:53:10 2004 +0000
@@ -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 @@
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 -r 176249ed3bf3 -r 0b51e45babe8 devel/unproven-pthreads/Makefile
--- a/devel/unproven-pthreads/Makefile Mon Jan 26 22:32:30 2004 +0000
+++ b/devel/unproven-pthreads/Makefile Tue Jan 27 00:53:10 2004 +0000
@@ -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 @@
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 -r 176249ed3bf3 -r 0b51e45babe8 editors/emacs-nox11/Makefile
--- a/editors/emacs-nox11/Makefile Mon Jan 26 22:32:30 2004 +0000
+++ b/editors/emacs-nox11/Makefile Tue Jan 27 00:53:10 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2004/01/22 08:30:30 grant Exp $
+# $NetBSD: Makefile,v 1.8 2004/01/27 00:53:12 heinz Exp $
# FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp
DISTNAME= emacs-21.3
@@ -32,7 +32,7 @@
${CP} ${FILESDIR}/site-init.el ${WRKSRC}/lisp
pre-install:
- @${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM} -f
+ @${FIND} ${WRKSRC} -type f -name "*.orig" -print | ${XARGS} ${RM} -f
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/emacs
diff -r 176249ed3bf3 -r 0b51e45babe8 editors/emacs/Makefile
--- a/editors/emacs/Makefile Mon Jan 26 22:32:30 2004 +0000
+++ b/editors/emacs/Makefile Tue Jan 27 00:53:10 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.66 2004/01/22 08:30:30 grant Exp $
+# $NetBSD: Makefile,v 1.67 2004/01/27 00:53:12 heinz Exp $
# FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp
DISTNAME= emacs-21.3
@@ -64,7 +64,7 @@
${CP} ${FILESDIR}/site-init.el ${WRKSRC}/lisp
pre-install:
- @${FIND} ${WRKSRC} -type f -name "*.orig" | ${XARGS} ${RM} -f
+ @${FIND} ${WRKSRC} -type f -name "*.orig" -print | ${XARGS} ${RM} -f
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/emacs
diff -r 176249ed3bf3 -r 0b51e45babe8 editors/emacs20/Makefile
--- a/editors/emacs20/Makefile Mon Jan 26 22:32:30 2004 +0000
+++ b/editors/emacs20/Makefile Tue Jan 27 00:53:10 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2004/01/22 08:30:30 grant Exp $
+# $NetBSD: Makefile,v 1.10 2004/01/27 00:53:11 heinz Exp $
DISTNAME= emacs-20.7
PKGREVISION= 2
@@ -80,7 +80,7 @@
INSTALL_PROGRAM=${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
pre-install:
- @${FIND} ${WRKSRC} -type f -name "*.orig*" | ${XARGS} ${RM} -f
+ @${FIND} ${WRKSRC} -type f -name "*.orig*" -print | ${XARGS} ${RM} -f
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/emacs
diff -r 176249ed3bf3 -r 0b51e45babe8 editors/xemacs/Makefile
--- a/editors/xemacs/Makefile Mon Jan 26 22:32:30 2004 +0000
+++ b/editors/xemacs/Makefile Tue Jan 27 00:53:10 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.66 2004/01/03 18:49:39 reed Exp $
+# $NetBSD: Makefile,v 1.67 2004/01/27 00:53:11 heinz Exp $
DISTNAME= xemacs-21.4.14
PKGREVISION= 1
@@ -137,7 +137,7 @@
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/${DISTNAME}
${INSTALL_DATA_DIR} ${PREFIX}/lib/xemacs
.if defined(MANZ)
- ${FIND} ${PREFIX}/lib/${DISTNAME} -name "*.el" -type f | \
+ ${FIND} ${PREFIX}/lib/${DISTNAME} -name "*.el" -type f -print | \
${XARGS} ${GZIP_CMD}
.endif
diff -r 176249ed3bf3 -r 0b51e45babe8 emulators/linux-locale/Makefile
--- a/emulators/linux-locale/Makefile Mon Jan 26 22:32:30 2004 +0000
+++ b/emulators/linux-locale/Makefile Tue Jan 27 00:53:10 2004 +0000
@@ -1,4 +1,4 @@
Home |
Main Index |
Thread Index |
Old Index