Mon Mar 18 09:29:18 2013 UTC ()
Avoid getting "/usr/pkg/bin/perl^M: bad interpreter ..." error on
the auxiliary perl scripts iozone_report and iozone_visualizer.


(ast)
diff -r1.46 -r1.47 pkgsrc/benchmarks/iozone/Makefile

cvs diff -r1.46 -r1.47 pkgsrc/benchmarks/iozone/Makefile (expand / switch to unified diff)

--- pkgsrc/benchmarks/iozone/Makefile 2012/10/03 21:53:58 1.46
+++ pkgsrc/benchmarks/iozone/Makefile 2013/03/18 09:29:17 1.47
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.46 2012/10/03 21:53:58 wiz Exp $ 1# $NetBSD: Makefile,v 1.47 2013/03/18 09:29:17 ast Exp $
2 2
3DISTNAME= iozone3_408 3DISTNAME= iozone3_408
4PKGNAME= iozone-3.408 4PKGNAME= iozone-3.408
5PKGREVISION= 1 5PKGREVISION= 1
6CATEGORIES= benchmarks 6CATEGORIES= benchmarks
7MASTER_SITES= http://www.iozone.org/src/current/ 7MASTER_SITES= http://www.iozone.org/src/current/
8EXTRACT_SUFX= .tar 8EXTRACT_SUFX= .tar
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://www.iozone.org/ 11HOMEPAGE= http://www.iozone.org/
12COMMENT= Benchmark for file read and write speed 12COMMENT= Benchmark for file read and write speed
13# No derivative works 13# No derivative works
14LICENSE= iozone-license 14LICENSE= iozone-license
@@ -33,26 +33,31 @@ BUILD_TARGET= Solaris @@ -33,26 +33,31 @@ BUILD_TARGET= Solaris
33BUILD_TARGET= macosx 33BUILD_TARGET= macosx
34.elif (${OPSYS} == "IRIX") 34.elif (${OPSYS} == "IRIX")
35BUILD_TARGET= ${OPSYS}${ABI:M64} 35BUILD_TARGET= ${OPSYS}${ABI:M64}
36.elif (${OPSYS} == "BSDOS") 36.elif (${OPSYS} == "BSDOS")
37BUILD_TARGET= bsdi 37BUILD_TARGET= bsdi
38.elif (${OPSYS} == "AIX") 38.elif (${OPSYS} == "AIX")
39BUILD_TARGET= ${OPSYS} 39BUILD_TARGET= ${OPSYS}
40.else 40.else
41# XXX: generic should work, but specific target would be better 41# XXX: generic should work, but specific target would be better
42BUILD_TARGET= generic 42BUILD_TARGET= generic
43.endif 43.endif
44 44
45REPLACE_PERL = iozone_visualizer.pl report.pl 45REPLACE_PERL = iozone_visualizer.pl report.pl
 46SUBST_CLASSES+= crlf
 47SUBST_MESSAGE.crlf= Stripping EOL CR in ${REPLACE_PERL}
 48SUBST_STAGE.crlf= post-extract
 49SUBST_FILES.crlf= ${REPLACE_PERL}
 50SUBST_FILTER_CMD.crlf= ${TR} -d '\r'
46 51
47EGDIR = share/examples/IOzone 52EGDIR = share/examples/IOzone
48DOCDIR = share/doc/IOzone 53DOCDIR = share/doc/IOzone
49INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${EGDIR} ${DOCDIR} 54INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${EGDIR} ${DOCDIR}
50 55
51.include "options.mk" 56.include "options.mk"
52 57
53IOZONE_TEST_ARGS= -Ea 58IOZONE_TEST_ARGS= -Ea
54.if !empty(PKG_OPTIONS:Mthreads) 59.if !empty(PKG_OPTIONS:Mthreads)
55IOZONE_TEST_ARGS+= -T -t4 60IOZONE_TEST_ARGS+= -T -t4
56.endif 61.endif
57 62
58do-install: 63do-install: