summaryrefslogtreecommitdiff
path: root/benchmarks/heapsort
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2011-09-14 07:05:27 +0000
committerdholland <dholland@pkgsrc.org>2011-09-14 07:05:27 +0000
commit48649fdfb6ee857d5bb76771d78756a83ccef223 (patch)
tree621d281af3595544675d8682eb823f0fe17a60d5 /benchmarks/heapsort
parent429bdcc93e3f62d442ff2b774951a03a57588a91 (diff)
downloadpkgsrc-48649fdfb6ee857d5bb76771d78756a83ccef223.tar.gz
Fix some pkglint. There's quite a bit left, including a highly bogus
"results" target that copies results into /tmp.
Diffstat (limited to 'benchmarks/heapsort')
-rw-r--r--benchmarks/heapsort/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/benchmarks/heapsort/Makefile b/benchmarks/heapsort/Makefile
index 153388135af..aefde9116f8 100644
--- a/benchmarks/heapsort/Makefile
+++ b/benchmarks/heapsort/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2010/01/25 00:32:23 zafer Exp $
+# $NetBSD: Makefile,v 1.17 2011/09/14 07:05:27 dholland Exp $
DISTNAME= heapsort.c
PKGNAME= heapsort-1.0
@@ -21,16 +21,16 @@ do-extract:
${CP} ${DISTDIR}/heapsort.c ${WRKSRC}/heapsort.c
do-build:
- (cd ${WRKSRC} ; ${CC} ${CFLAGS} -DUNIX -o heapsort heapsort.c -lm)
+ (cd ${WRKSRC} && ${CC} ${CFLAGS} -DUNIX -o heapsort heapsort.c -lm)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/heapsort ${DESTDIR}${PREFIX}/bin
benchmark:
- -@${WRKSRC}/heapsort | tee ${WRKSRC}/heapsort.out
+ ${WRKSRC}/heapsort | tee ${WRKSRC}/heapsort.out
results:
- @${MKDIR} /tmp/benches/`domainname`
- -@${CP} ${WRKSRC}/heapsort.out /tmp/benches/`domainname`/heapsort.`uname`-`uname -m`-`uname -r`.`hostname`
+ ${MKDIR} /tmp/benches/`domainname`
+ ${CP} ${WRKSRC}/heapsort.out /tmp/benches/`domainname`/heapsort.`uname`-`uname -m`-`uname -r`.`hostname`
.include "../../mk/bsd.pkg.mk"