summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorast <ast>2013-03-18 09:29:17 +0000
committerast <ast>2013-03-18 09:29:17 +0000
commit0ba081bf61808db7e2d03bb64241532f1e958e09 (patch)
tree2ce79e3a4d14589b69631d68b71afd7dbb41cf60 /benchmarks
parent1d1f550ea32a0409ae54baea13807251bd10132b (diff)
downloadpkgsrc-0ba081bf61808db7e2d03bb64241532f1e958e09.tar.gz
Avoid getting "/usr/pkg/bin/perl^M: bad interpreter ..." error on
the auxiliary perl scripts iozone_report and iozone_visualizer.
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/iozone/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile
index db07d37c8c7..44322515d7a 100644
--- a/benchmarks/iozone/Makefile
+++ b/benchmarks/iozone/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2012/10/03 21:53:58 wiz Exp $
+# $NetBSD: Makefile,v 1.47 2013/03/18 09:29:17 ast Exp $
DISTNAME= iozone3_408
PKGNAME= iozone-3.408
@@ -43,6 +43,11 @@ BUILD_TARGET= generic
.endif
REPLACE_PERL = iozone_visualizer.pl report.pl
+SUBST_CLASSES+= crlf
+SUBST_MESSAGE.crlf= Stripping EOL CR in ${REPLACE_PERL}
+SUBST_STAGE.crlf= post-extract
+SUBST_FILES.crlf= ${REPLACE_PERL}
+SUBST_FILTER_CMD.crlf= ${TR} -d '\r'
EGDIR = share/examples/IOzone
DOCDIR = share/doc/IOzone