aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/nas/Makefile2
-rw-r--r--audio/xmixer/Makefile2
-rw-r--r--cad/irsim/Makefile2
-rw-r--r--cad/slffea/Makefile2
-rw-r--r--cad/xcircuit/Makefile2
-rw-r--r--deskutils/abacus/Makefile2
-rw-r--r--devel/flux/Makefile4
-rw-r--r--devel/make++/Makefile6
-rw-r--r--ftp/libfxp/Makefile2
-rw-r--r--ftp/pavuk/Makefile4
-rw-r--r--games/smacx/Makefile2
-rw-r--r--games/xmille/Makefile2
-rw-r--r--graphics/EZWGL/Makefile10
-rw-r--r--graphics/ecg2png/Makefile2
-rw-r--r--graphics/mpegedit/Makefile2
-rw-r--r--graphics/ray++/Makefile2
-rw-r--r--graphics/urt/Makefile6
-rw-r--r--lang/compaq-cc/Makefile2
-rw-r--r--mail/glacier/Makefile4
-rw-r--r--math/oleo/Makefile2
-rw-r--r--multimedia/mpegedit/Makefile2
-rw-r--r--net-mgmt/cricket/Makefile4
-rw-r--r--net/cricket/Makefile4
-rw-r--r--news/nntpcache/Makefile2
-rw-r--r--textproc/chpp/Makefile4
-rw-r--r--www/apache13-modssl/Makefile2
-rw-r--r--www/bkmrkconv/Makefile2
-rw-r--r--www/grail/Makefile1
-rw-r--r--www/py-HTMLgen/Makefile1
-rw-r--r--x11-toolkits/p5-Tk/Makefile2
-rw-r--r--x11/gdkxft/Makefile8
31 files changed, 46 insertions, 48 deletions
diff --git a/audio/nas/Makefile b/audio/nas/Makefile
index a70ed84e4d6d..049dd9e8e5ff 100644
--- a/audio/nas/Makefile
+++ b/audio/nas/Makefile
@@ -25,7 +25,7 @@ INSTALLS_SHLIB= yes
.include "${.CURDIR}/Makefile.man"
post-patch:
- @find ${WRKSRC} -name '*.[ch]' | xargs \
+ @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} \
${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g"
post-install:
diff --git a/audio/xmixer/Makefile b/audio/xmixer/Makefile
index a63c098973fb..faa7d4044912 100644
--- a/audio/xmixer/Makefile
+++ b/audio/xmixer/Makefile
@@ -23,6 +23,6 @@ MAN1= xmixer.1
MLINKS= xmixer.1 xgmixer.1
pre-patch:
- @find ${WRKSRC} -type f | xargs ${REINPLACE_CMD} -e 's|rxvt -e|xterm -e|g'
+ @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e 's|rxvt -e|xterm -e|g'
.include <bsd.port.mk>
diff --git a/cad/irsim/Makefile b/cad/irsim/Makefile
index 765c008d5ea8..c232d31eb421 100644
--- a/cad/irsim/Makefile
+++ b/cad/irsim/Makefile
@@ -20,6 +20,6 @@ MAN5= netchange.5
# othewise patch will complain
post-extract:
- @find ${WRKSRC} -name RCS | xargs ${RM} -rf
+ @${FIND} ${WRKSRC} -name RCS | ${XARGS} ${RM} -rf
.include <bsd.port.mk>
diff --git a/cad/slffea/Makefile b/cad/slffea/Makefile
index 59a33c40c950..b520bb80eacc 100644
--- a/cad/slffea/Makefile
+++ b/cad/slffea/Makefile
@@ -38,7 +38,7 @@ EXEC= beam/beam/bm \
truss/truss_gr/tspost
post-patch:
- @(find ${WRKSRC} -name Makefile | xargs \
+ @(${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
${REINPLACE_CMD} -E -e "s,^CC = (.*),CC = ${CC} ${CFLAGS},g ; \
s,-lglut,-lglut ${PTHREAD_LIBS},g")
diff --git a/cad/xcircuit/Makefile b/cad/xcircuit/Makefile
index c8e6286c4fd5..b04cf3f85285 100644
--- a/cad/xcircuit/Makefile
+++ b/cad/xcircuit/Makefile
@@ -25,7 +25,7 @@ XMKMF= xmkmf
MAN1= xcircuit.1
post-patch:
- @find ${WRKSRC} -name '*.[ch]' | xargs ${REINPLACE_CMD} -e \
+ @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
's|<malloc.h>|<stdlib.h>|g'
post-install:
diff --git a/deskutils/abacus/Makefile b/deskutils/abacus/Makefile
index cc6782019b71..5a017fa14a63 100644
--- a/deskutils/abacus/Makefile
+++ b/deskutils/abacus/Makefile
@@ -29,7 +29,7 @@ ALL_TARGET= dep tcl_interf/nxlc
MAN1= abacus.1
post-extract:
- @(cd ${WRKSRC}; find -d . -name RCS -exec ${RM} -rf {} \;)
+ @(cd ${WRKSRC}; ${FIND} -d . -name RCS -exec ${RM} -rf {} \;)
@(cd ${WRKSRC}; ${RM} canvas; ${LN} -sf canvas-tcl8.2.2 canvas)
post-patch:
diff --git a/devel/flux/Makefile b/devel/flux/Makefile
index db773d5b7543..254bb778acdb 100644
--- a/devel/flux/Makefile
+++ b/devel/flux/Makefile
@@ -41,8 +41,8 @@ post-install:
@${MKDIR} ${PREFIX}/share/doc/flux
${TAR} -C ${WRKSRC}/doc --exclude ChangeLog -cf - . | \
${TAR} -C ${PREFIX}/share/doc/flux --unlink -xf -
- @find ${PREFIX}/share/doc/flux | xargs ${CHOWN} ${SHAREOWN}:${SHAREGRP}
- @find ${PREFIX}/share/doc/flux -type f | xargs ${CHMOD} ${SHAREMODE}
+ @${FIND} ${PREFIX}/share/doc/flux | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
+ @${FIND} ${PREFIX}/share/doc/flux -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
.for DOC in AUTHORS NEWS README TODO
${INSTALL_DATA} ${WRKSRC}/${DOC} ${PREFIX}/share/doc/flux
.endfor
diff --git a/devel/make++/Makefile b/devel/make++/Makefile
index 54136e21712d..68a94ef3717d 100644
--- a/devel/make++/Makefile
+++ b/devel/make++/Makefile
@@ -29,11 +29,11 @@ do-install:
@${MKDIR} ${DATADIR}/Signature
${INSTALL_SCRIPT} ${WRKSRC}/recursive_makepp ${DATADIR}
@(cd ${WRKSRC} ; \
- find . -name "*.pm" -maxdepth 1 -exec ${INSTALL_SCRIPT} {} ${DATADIR} \;)
+ ${FIND} . -name "*.pm" -maxdepth 1 -exec ${INSTALL_SCRIPT} {} ${DATADIR} \;)
@(cd ${WRKSRC}/Signature ; \
- find . -name "*.pm" -exec ${INSTALL_SCRIPT} {} ${DATADIR}/Signature \;)
+ ${FIND} . -name "*.pm" -exec ${INSTALL_SCRIPT} {} ${DATADIR}/Signature \;)
@(cd ${WRKSRC} ; \
- find . -name "*.mk" -exec ${INSTALL_SCRIPT} {} ${DATADIR} \;)
+ ${FIND} . -name "*.mk" -exec ${INSTALL_SCRIPT} {} ${DATADIR} \;)
@${MKDIR} ${DATADIR}/html
${CP} ${WRKSRC}/doc/* ${DATADIR}/html
diff --git a/ftp/libfxp/Makefile b/ftp/libfxp/Makefile
index 477f2cfe2121..ac1e5ee1547c 100644
--- a/ftp/libfxp/Makefile
+++ b/ftp/libfxp/Makefile
@@ -24,7 +24,7 @@ post-patch:
s,^PREFIX,#PREFIX,g" ${WRKSRC}/${file}
.endfor
@(cd ${WRKSRC} ; \
- ${GREP} -l -R malloc.h * | xargs \
+ ${GREP} -l -R malloc.h * | ${XARGS} \
${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|g")
.include <bsd.port.mk>
diff --git a/ftp/pavuk/Makefile b/ftp/pavuk/Makefile
index 36a35fb65569..fbc7b4425092 100644
--- a/ftp/pavuk/Makefile
+++ b/ftp/pavuk/Makefile
@@ -44,8 +44,8 @@ pre-patch:
@${REINPLACE_CMD} -e 's|-pthread -DHAVE_MT|${PTHREAD_CFLAGS} -DHAVE_MT|g ; \
s|-pthread|${PTHREAD_LIBS}|g ; \
s|-lpthreads|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
- 's|\$$(datadir)/icons|\$$(pkgdatadir)/icons|g'
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|\$$(datadir)/icons|$$(pkgdatadir)/icons|g'
post-install:
${INSTALL_DATA} ${WRKSRC}/pavuk_authinfo.sample ${PREFIX}/etc
diff --git a/games/smacx/Makefile b/games/smacx/Makefile
index 50cb6fda1132..76d5e3eb3d93 100644
--- a/games/smacx/Makefile
+++ b/games/smacx/Makefile
@@ -30,7 +30,7 @@ do-install:
${MKDIR} ${PREFIX}/games/smacx/data/${SUBDIR}
${INSTALL_DATA} ${WRKSRC}/data/${SUBDIR}/* ${PREFIX}/games/smacx/data/${SUBDIR}
.endfor
- cd ${WRKSRC} && find data -maxdepth 1 -type f > datafiles
+ cd ${WRKSRC} && ${FIND} data -maxdepth 1 -type f > datafiles
cd ${WRKSRC} && ${INSTALL_DATA} `cat datafiles` ${PREFIX}/games/smacx/data/
.for FILE in QuickStart.txt README icon.xpm
${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/games/smacx
diff --git a/games/xmille/Makefile b/games/xmille/Makefile
index 37be1c728003..842948233299 100644
--- a/games/xmille/Makefile
+++ b/games/xmille/Makefile
@@ -21,6 +21,6 @@ USE_IMAKE= yes
MAN1= xmille.1
post-extract:
- @find ${WRKSRC} -name '*.[ao]' -delete
+ @${FIND} ${WRKSRC} -name '*.[ao]' -delete
.include <bsd.port.mk>
diff --git a/graphics/EZWGL/Makefile b/graphics/EZWGL/Makefile
index 197ecc5937ce..5ed236a73984 100644
--- a/graphics/EZWGL/Makefile
+++ b/graphics/EZWGL/Makefile
@@ -27,7 +27,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
.include "${FILESDIR}/manpages"
post-extract:
- find ${WRKSRC} -name CVS | xargs ${RM} -rf
+ ${FIND} ${WRKSRC} -name CVS | ${XARGS} ${RM} -rf
post-install:
.for file in ${MAN3}
@@ -38,14 +38,14 @@ post-install:
${TAR} -C ${PREFIX}/share/examples/EZ --unlink -xf -
${TAR} -C ${WRKSRC} --exclude 'Makefile.in' -cf - demos | \
${TAR} -C ${PREFIX}/share/examples/EZ --unlink -xf -
- find ${PREFIX}/share/examples/EZ | xargs ${CHOWN} ${SHAREOWN}:${SHAREGRP}
- find ${PREFIX}/share/examples/EZ -type f | xargs ${CHMOD} ${SHAREMODE}
+ ${FIND} ${PREFIX}/share/examples/EZ | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
+ ${FIND} ${PREFIX}/share/examples/EZ -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/EZ
${TAR} -C ${WRKSRC}/doc --exclude 'misc' -cf - html ps | \
${TAR} -C ${PREFIX}/share/doc/EZ --unlink -xf -
- find ${PREFIX}/share/doc/EZ | xargs ${CHOWN} ${SHAREOWN}:${SHAREGRP}
- find ${PREFIX}/share/doc/EZ -type f | xargs ${CHMOD} ${SHAREMODE}
+ ${FIND} ${PREFIX}/share/doc/EZ | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
+ ${FIND} ${PREFIX}/share/doc/EZ -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
.endif
.include <bsd.port.post.mk>
diff --git a/graphics/ecg2png/Makefile b/graphics/ecg2png/Makefile
index e0d558209ddb..9ec07e1a03cd 100644
--- a/graphics/ecg2png/Makefile
+++ b/graphics/ecg2png/Makefile
@@ -25,7 +25,7 @@ QTCPPFLAGS+= -I${LOCALBASE}/include/gd
pre-patch:
@${REINPLACE_CMD} -e 's|-lqt$$|-l${QTNAME}|g' ${WRKSRC}/ecg2png/Makefile.in
- @find ${WRKSRC} -name '*.cpp' | xargs ${REINPLACE_CMD} -e \
+ @${FIND} ${WRKSRC} -name '*.cpp' | ${XARGS} ${REINPLACE_CMD} -e \
's|#include <qimageio.h>||g'
@${CHMOD} ${BINMODE} ${WRKSRC}/missing
diff --git a/graphics/mpegedit/Makefile b/graphics/mpegedit/Makefile
index 9957d24059f3..c1d8127e354d 100644
--- a/graphics/mpegedit/Makefile
+++ b/graphics/mpegedit/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= netpbm.1:${PORTSDIR}/graphics/netpbm
USE_X_PREFIX= yes
post-extract:
- @find ${WRKSRC} -name '.depend' | xargs ${RM} -f
+ @${FIND} ${WRKSRC} -name '.depend' | ${XARGS} ${RM} -f
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/mpeg_edit ${PREFIX}/bin
diff --git a/graphics/ray++/Makefile b/graphics/ray++/Makefile
index ae6201df2950..49172c7719a1 100644
--- a/graphics/ray++/Makefile
+++ b/graphics/ray++/Makefile
@@ -21,7 +21,7 @@ INSTALLS_SHLIB= yes
do-install:
@(cd ${WRKSRC} ; \
${INSTALL_DATA} ray++.so ${PREFIX}/lib ; \
- find * -name "*.h" | cpio -pdum ${PREFIX}/include/${PORTNAME} ; \
+ ${FIND} * -name "*.h" | cpio -pdum ${PREFIX}/include/${PORTNAME} ; \
${CHMOD} -R 755 ${PREFIX}/include/${PORTNAME} )
.include <bsd.port.mk>
diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile
index bb87d063e18d..39fea19862aa 100644
--- a/graphics/urt/Makefile
+++ b/graphics/urt/Makefile
@@ -64,14 +64,14 @@ post-install:
cd ${PREFIX}/share/doc/urt; \
${TAR} xf $(DISTDIR)/urt-doc.tar; \
cd doc; \
- find -d . | cpio -dump ..; \
+ ${FIND} -d . | cpio -dump ..; \
cd ..; \
${RM} -rf doc; \
cd ${PREFIX}/share/examples/urt; \
${TAR} xf $(DISTDIR)/urt-img.tar; \
${CHOWN} -R root:wheel . ; \
- find . -type d -exec ${CHMOD} 755 '{}' \; ; \
- find . -type f -exec ${CHMOD} 644 '{}' \;
+ ${FIND} . -type d -exec ${CHMOD} 755 '{}' \; ; \
+ ${FIND} . -type f -exec ${CHMOD} 644 '{}' \;
.endif
.include <bsd.port.mk>
diff --git a/lang/compaq-cc/Makefile b/lang/compaq-cc/Makefile
index 4b44d9f61c77..4e057d7fe579 100644
--- a/lang/compaq-cc/Makefile
+++ b/lang/compaq-cc/Makefile
@@ -88,7 +88,7 @@ do-install:
; mkdir -p ${PREFIX}/lib \
; cc -c ld-linux.c -o ${PREFIX}/lib/ld-linux.so.2 \
# cpio creates directories with stupid permissions
- ${FIND} ${PREFIX}/usr/lib/compaq -type d | xargs ${CHMOD} 755
+ ${FIND} ${PREFIX}/usr/lib/compaq -type d | ${XARGS} ${CHMOD} 755
# tweaks to compile FreeBSD bits better
${MV} ${CCC_ROOT}/alpha-linux/bin/comp.config \
${CCC_ROOT}/alpha-linux/bin/comp.config.ORIG
diff --git a/mail/glacier/Makefile b/mail/glacier/Makefile
index c8d048400c67..f21aa5bc7f24 100644
--- a/mail/glacier/Makefile
+++ b/mail/glacier/Makefile
@@ -20,7 +20,7 @@ USE_GNOME= yes
GNU_CONFIGURE= yes
pre-patch:
- @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
- 's|\$$(datadir)/gnome/|\$$(datadir)/|g'
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|\$$(datadir)/gnome/|$$(datadir)/|g'
.include <bsd.port.mk>
diff --git a/math/oleo/Makefile b/math/oleo/Makefile
index f7ea4a66ba78..8b5b4482fb65 100644
--- a/math/oleo/Makefile
+++ b/math/oleo/Makefile
@@ -42,7 +42,7 @@ pre-everything::
.endif
post-patch:
- @find ${WRKSRC} -name '*.[ch]' | xargs \
+ @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} \
${REINPLACE_CMD} -e "s|<malloc.h>|<stdlib.h>|g"
.include <bsd.port.mk>
diff --git a/multimedia/mpegedit/Makefile b/multimedia/mpegedit/Makefile
index 9957d24059f3..c1d8127e354d 100644
--- a/multimedia/mpegedit/Makefile
+++ b/multimedia/mpegedit/Makefile
@@ -18,7 +18,7 @@ LIB_DEPENDS= netpbm.1:${PORTSDIR}/graphics/netpbm
USE_X_PREFIX= yes
post-extract:
- @find ${WRKSRC} -name '.depend' | xargs ${RM} -f
+ @${FIND} ${WRKSRC} -name '.depend' | ${XARGS} ${RM} -f
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/mpeg_edit ${PREFIX}/bin
diff --git a/net-mgmt/cricket/Makefile b/net-mgmt/cricket/Makefile
index 7700a7e78e83..f8b52b097a2d 100644
--- a/net-mgmt/cricket/Makefile
+++ b/net-mgmt/cricket/Makefile
@@ -35,8 +35,8 @@ do-install:
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
@${MKDIR} -m 755 ${PREFIX}/cricket/cricket-${PORTVERSION}
@${CP} -R ${WRKSRC}/* ${PREFIX}/cricket/cricket-${PORTVERSION}
- @find ${PREFIX}/cricket/cricket-${PORTVERSION} -name \*.orig -or \
- -name \*.bak | xargs ${RM} -f
+ @${FIND} ${PREFIX}/cricket/cricket-${PORTVERSION} -name \*.orig -or \
+ -name \*.bak | ${XARGS} ${RM} -f
${CHOWN} -R ${CRICKET_USER}:${CRICKET_GROUP} ${PREFIX}/cricket
@if [ -L ${PREFIX}/cricket/cricket ]; then \
${ECHO} "Updating ${PREFIX}/cricket/cricket symbolic link" ; \
diff --git a/net/cricket/Makefile b/net/cricket/Makefile
index 7700a7e78e83..f8b52b097a2d 100644
--- a/net/cricket/Makefile
+++ b/net/cricket/Makefile
@@ -35,8 +35,8 @@ do-install:
@${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL
@${MKDIR} -m 755 ${PREFIX}/cricket/cricket-${PORTVERSION}
@${CP} -R ${WRKSRC}/* ${PREFIX}/cricket/cricket-${PORTVERSION}
- @find ${PREFIX}/cricket/cricket-${PORTVERSION} -name \*.orig -or \
- -name \*.bak | xargs ${RM} -f
+ @${FIND} ${PREFIX}/cricket/cricket-${PORTVERSION} -name \*.orig -or \
+ -name \*.bak | ${XARGS} ${RM} -f
${CHOWN} -R ${CRICKET_USER}:${CRICKET_GROUP} ${PREFIX}/cricket
@if [ -L ${PREFIX}/cricket/cricket ]; then \
${ECHO} "Updating ${PREFIX}/cricket/cricket symbolic link" ; \
diff --git a/news/nntpcache/Makefile b/news/nntpcache/Makefile
index 14a865fcf0dd..300f8515e598 100644
--- a/news/nntpcache/Makefile
+++ b/news/nntpcache/Makefile
@@ -82,7 +82,7 @@ post-install:
@ ${CHOWN} -R news:news ${NNTPSPOOLDIR}
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${DOCSDIR}
- @ cd ${WRKSRC} && find ${DOCS} \
+ @ cd ${WRKSRC} && ${FIND} ${DOCS} \
| ${CPIO} ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
.endif
diff --git a/textproc/chpp/Makefile b/textproc/chpp/Makefile
index b0289c1fc867..ab02c3c6833d 100644
--- a/textproc/chpp/Makefile
+++ b/textproc/chpp/Makefile
@@ -21,8 +21,8 @@ post-install:
@${MKDIR} ${EXAMPLES_DIR}
${TAR} -C ${WRKSRC}/test -cf - . | \
${TAR} -C ${EXAMPLES_DIR} --unlink -xf -
- @find ${EXAMPLES_DIR} | xargs ${CHOWN} ${SHAREOWN}:${SHAREGRP}
- @find ${EXAMPLES_DIR} -type f | xargs ${CHMOD} ${SHAREMODE}
+ @${FIND} ${EXAMPLES_DIR} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP}
+ @${FIND} ${EXAMPLES_DIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in AUTHORS NEWS README
diff --git a/www/apache13-modssl/Makefile b/www/apache13-modssl/Makefile
index 41e467a09a61..584e7e16ce34 100644
--- a/www/apache13-modssl/Makefile
+++ b/www/apache13-modssl/Makefile
@@ -153,7 +153,7 @@ post-patch:
@${PERL} -pi -e 's|-print|-print0|;s|xargs|xargs -0|' \
${WRKSRC}/Makefile.tmpl
@cd ${WRKSRC} \
- && find . -type f -name "*.orig" -print | xargs ${RM} -f
+ && ${FIND} . -type f -name "*.orig" -print | ${XARGS} ${RM} -f
post-build:
@cd ${WRKSRC} \
diff --git a/www/bkmrkconv/Makefile b/www/bkmrkconv/Makefile
index f11fea346925..2fc996512cab 100644
--- a/www/bkmrkconv/Makefile
+++ b/www/bkmrkconv/Makefile
@@ -16,7 +16,7 @@ USE_PERL5= yes
NO_BUILD= yes
post-patch:
- @find ${WRKSRC} -name '*.pl' | xargs ${PERL} -pi -e \
+ @${FIND} ${WRKSRC} -name '*.pl' | ${XARGS} ${PERL} -pi -e \
's|/usr/bin/perl|${PERL}|g ; \
s|%%PREFIX%%|${PREFIX}|g'
diff --git a/www/grail/Makefile b/www/grail/Makefile
index 6745eeb36db8..844106a33208 100644
--- a/www/grail/Makefile
+++ b/www/grail/Makefile
@@ -24,7 +24,6 @@ GRAILDIR= ${PREFIX}/${GRAILSUBDIR}
DIRS_CMD= ${SED} -e '/^@dirrm/bok' -e 'D' -e ':ok' -e 's,@dirrm ,,' < ${PLIST}
FILES_CMD= ${SED} -e '/^share\//bok' -e 'D' -e ':ok' -e 's,${GRAILSUBDIR}/,,' < ${PLIST}
-FIND?=find
PYTHON?=python
do-build:
diff --git a/www/py-HTMLgen/Makefile b/www/py-HTMLgen/Makefile
index 63c7b32cca03..6ccce245705e 100644
--- a/www/py-HTMLgen/Makefile
+++ b/www/py-HTMLgen/Makefile
@@ -19,7 +19,6 @@ WRKSRC= ${WRKDIR}/HTMLgen
PLIST= ${WRKDIR}/PLIST
DOCDIR= ${PREFIX}/share/doc/HTMLgen
-FIND?= find
pre-install:
@${CP} ${PKGDIR}/pkg-plist ${PLIST}
diff --git a/x11-toolkits/p5-Tk/Makefile b/x11-toolkits/p5-Tk/Makefile
index 03234006b976..152114fe2037 100644
--- a/x11-toolkits/p5-Tk/Makefile
+++ b/x11-toolkits/p5-Tk/Makefile
@@ -130,6 +130,6 @@ post-configure:
@${PERL} -i -p \
-e 's/^(CC = ).*/$$1 ${CC}/;' \
-e 's/^(CCFLAGS = ).*/$$1 ${CFLAGS}/' \
- `find ${WRKSRC} -name Makefile`
+ `${FIND} ${WRKSRC} -name Makefile`
.include <bsd.port.mk>
diff --git a/x11/gdkxft/Makefile b/x11/gdkxft/Makefile
index ff7e5ae35f79..61bba98e3f30 100644
--- a/x11/gdkxft/Makefile
+++ b/x11/gdkxft/Makefile
@@ -43,14 +43,14 @@ CONFIGURE_ARGS+= --without-gnome
.endif
post-patch:
- @${REINPLACE_CMD} -e 's|gtk-config --prefix|\$$GTK_CONFIG --prefix|g ; \
+ @${REINPLACE_CMD} -e 's|gtk-config --prefix|$$GTK_CONFIG --prefix|g ; \
s|libgdk.la|libgdk12.so|g ; \
s|libgdk.so|libgdk12.so|g ; \
s|GDK_DLOPEN_NAME=.*$$|GDK_DLOPEN_NAME="libgdk12.so"|g' \
${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \
- 's|src capplet|src \@BUILD_CAPPLET_TRUE\@capplet|g ; \
- s|DESTDIR)\$$(datadir|DESTDIR\)\$$\(pkgdatadir|g ; \
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|src capplet|src @BUILD_CAPPLET_TRUE@capplet|g ; \
+ s|DESTDIR)\$$(datadir|DESTDIR)\$$(pkgdatadir|g ; \
s|/gnome/apps/|/apps/|g ; \
s|la_LDFLAGS =.*$$|la_LDFLAGS = -module -avoid-version|g'
.for file in gdkxft_sysinstall.in gdkxft.c generate.pl