summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authortv <tv>2006-11-10 17:34:09 +0000
committertv <tv>2006-11-10 17:34:09 +0000
commit4ca88909e9c383f10c1863d2847228069c00c053 (patch)
treed14029e2529c2e6d34dc0be3357cb0bc70b8c46d /math
parent2f00d2f927ed73bd5fe22281ca5fb3952a8d72b7 (diff)
downloadpkgsrc-4ca88909e9c383f10c1863d2847228069c00c053.tar.gz
Use find -print | xargs rather than find -exec.
Diffstat (limited to 'math')
-rw-r--r--math/octave-current/Makefile4
-rw-r--r--math/octave/Makefile4
-rw-r--r--math/scilab/Makefile6
3 files changed, 7 insertions, 7 deletions
diff --git a/math/octave-current/Makefile b/math/octave-current/Makefile
index 3ac7a78094d..fb3c1724195 100644
--- a/math/octave-current/Makefile
+++ b/math/octave-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2006/10/04 21:47:57 wiz Exp $
+# $NetBSD: Makefile,v 1.59 2006/11/10 17:40:11 tv Exp $
DISTNAME= octave-${OCTAVE_VER}
PKGNAME= octave-current-${OCTAVE_VER}
@@ -55,7 +55,7 @@ OCTAVE_HTML= faq/Octave-FAQ_*.html interpreter/octave_*.html \
UNWRAP_FILES+= mkoctfile octave-bug src/oct-conf.h
post-extract:
- ${FIND} ${WRKSRC}/doc -type f -name '*.info*' -exec ${RM} -f {} \;
+ ${FIND} ${WRKSRC}/doc -type f -name '*.info*' -print | ${XARGS} ${RM} -f
${MKDIR} ${WRKSRC}/src/pic
# substitute in the real path to various bits of the toolchain because
diff --git a/math/octave/Makefile b/math/octave/Makefile
index 4335732e328..76e64193d86 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.67 2006/10/04 21:47:57 wiz Exp $
+# $NetBSD: Makefile,v 1.68 2006/11/10 17:40:11 tv Exp $
DISTNAME= octave-${OCTAVE_VER}
CATEGORIES= math
@@ -51,7 +51,7 @@ OCTAVE_HTML= faq/Octave-FAQ_*.html interpreter/octave_*.html \
UNWRAP_FILES+= mkoctfile octave-bug src/oct-conf.h
post-extract:
- ${FIND} ${WRKSRC}/doc -type f -name '*.info*' -exec ${RM} -f {} \;
+ ${FIND} ${WRKSRC}/doc -type f -name '*.info*' -print | ${XARGS} ${RM} -f
${MKDIR} ${WRKSRC}/src/pic
# substitute in the real path to various bits of the toolchain because
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index c947f05c5ab..f5bf0e35585 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.70 2006/05/12 12:39:32 joerg Exp $
+# $NetBSD: Makefile,v 1.71 2006/11/10 17:40:12 tv Exp $
#
DISTNAME= ${SCIBASE}-src
@@ -88,8 +88,8 @@ post-patch:
pre-install:
cd ${WRKSRC}/tests && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} distclean
cd ${WRKSRC}/examples && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} distclean
- ${FIND} ${WRKSRC}/tests -name \*.blsav -exec ${RM} {} \;
- ${FIND} ${WRKSRC}/examples -name \*.blsav -exec ${RM} {} \;
+ ${FIND} ${WRKSRC}/tests -name \*.blsav -print | ${XARGS} ${RM} -f
+ ${FIND} ${WRKSRC}/examples -name \*.blsav -print | ${XARGS} ${RM} -f
${MV} ${WRKSRC}/maple/maple2scilab.mpl ${WRKSRC}/maple/maple2scilab.mpl.bak
${SED} 's;${WRKSRC};${PREFIX}/lib/${SCIBASE};g' ${WRKSRC}/maple/maple2scilab.mpl.bak > \
${WRKSRC}/maple/maple2scilab.mpl