summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchmarks/bytebench/Makefile4
-rw-r--r--benchmarks/hbench/Makefile6
-rw-r--r--benchmarks/hint/Makefile4
-rw-r--r--benchmarks/lmbench/Makefile6
-rw-r--r--benchmarks/postmark/pkg/PLIST1
5 files changed, 11 insertions, 10 deletions
diff --git a/benchmarks/bytebench/Makefile b/benchmarks/bytebench/Makefile
index ff9f579910c..8de0a063b7d 100644
--- a/benchmarks/bytebench/Makefile
+++ b/benchmarks/bytebench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 1998/12/26 15:59:55 garbled Exp $
+# $NetBSD: Makefile,v 1.5 1999/12/28 04:26:17 wiz Exp $
DISTNAME= byte
PKGNAME= bytebench-3.6
@@ -19,7 +19,7 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/run-byte ${PREFIX}/bin
benchmark:
- @if [ `id -u` != 0 ]; then echo "This benchmark must be run as root!" ; exit 1 ; fi
+ @if [ `id -u` != 0 ]; then ${ECHO} "This benchmark must be run as root!" ; exit 1 ; fi
@${WRKSRC}/run-byte | tee ${WRKSRC}/bytebench.out
results:
diff --git a/benchmarks/hbench/Makefile b/benchmarks/hbench/Makefile
index e5678965eea..bcc0777c641 100644
--- a/benchmarks/hbench/Makefile
+++ b/benchmarks/hbench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 1999/09/06 04:48:53 sakamoto Exp $
+# $NetBSD: Makefile,v 1.10 1999/12/28 04:26:18 wiz Exp $
DISTNAME= hbench-OS-1.0
PKGNAME= hbench-1.0
@@ -35,13 +35,13 @@ post-configure:
${MV} $$f $$f.in; \
${SED} -e 's|@PREFIX@|${PREFIX}|g' $$f.in > $$f; \
done
- @/bin/chmod 0755 ${WRKSRC}/scripts/*
+ @ ${CHMOD} 0755 ${WRKSRC}/scripts/*
do-install:
@${SETENV} PREFIX=${PREFIX} WRKSRC=${WRKSRC} ${SCRIPTDIR}/do-install
benchmark:
- @if [ `id -u` != 0 ]; then echo "This benchmark must be run as root!" ; exit 1 ; fi
+ @if [ `id -u` != 0 ]; then ${ECHO} "This benchmark must be run as root!" ; exit 1 ; fi
cd ${WRKSRC}; \
${MKDIR} conf; \
${MKDIR} results; \
diff --git a/benchmarks/hint/Makefile b/benchmarks/hint/Makefile
index e41b0594e69..199e4770927 100644
--- a/benchmarks/hint/Makefile
+++ b/benchmarks/hint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 1999/04/01 14:07:52 agc Exp $
+# $NetBSD: Makefile,v 1.8 1999/12/28 04:26:18 wiz Exp $
# FreeBSD: Makefile,v 1.1.1.1 1998/06/15 18:09:43 ghelmer Exp
#
@@ -21,7 +21,7 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/hint.1 ${PREFIX}/man/man1
benchmark:
- cd ${WRKSRC} ; mkdir -p data ; ./DOUBLE | tee hint.out
+ cd ${WRKSRC} ; ${MKDIR} -p data ; ./DOUBLE | tee hint.out
results:
-@${MKDIR} /tmp/benches/`domainname`
diff --git a/benchmarks/lmbench/Makefile b/benchmarks/lmbench/Makefile
index 6bb2b860736..98a8ef7b3f1 100644
--- a/benchmarks/lmbench/Makefile
+++ b/benchmarks/lmbench/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 1999/01/02 02:26:34 hubertf Exp $
+# $NetBSD: Makefile,v 1.6 1999/12/28 04:26:18 wiz Exp $
DISTNAME= lmbench-2alpha11
PKGNAME= lmbench-2.11a
@@ -37,11 +37,11 @@ benchmark:
fi
.if defined(BATCH)
@${ECHO} "*** This benchmark should only be run in non-batch mode" ; \
- if [ `id -u` != 0 ]; then echo "This benchmark must be run as root!" ; exit 1 ; fi ; \
+ if [ `id -u` != 0 ]; then ${ECHO} "This benchmark must be run as root!" ; exit 1 ; fi ; \
@${SED} -e 's|@wrksrc@|${WRKSRC}|' < ${FILESDIR}/setup.answers | \
(cd ${WRKSRC}/src; ${GMAKE} results)
.else
- @if [ `id -u` != 0 ]; then echo "This benchmark must be run as root!" ; exit 1 ; fi
+ @if [ `id -u` != 0 ]; then ${ECHO} "This benchmark must be run as root!" ; exit 1 ; fi
@cd ${WRKSRC}/src; ${GMAKE} results
.endif
diff --git a/benchmarks/postmark/pkg/PLIST b/benchmarks/postmark/pkg/PLIST
index f5b5d3cfe8a..a1d11c6705b 100644
--- a/benchmarks/postmark/pkg/PLIST
+++ b/benchmarks/postmark/pkg/PLIST
@@ -1 +1,2 @@
+@comment $NetBSD: PLIST,v 1.2 1999/12/28 04:26:18 wiz Exp $
sbin/postmark