pkgsrc/benchmarks/hbench/patches/patch-ai
agc 31f6c67c36 Use @PREFIX@ when substituting for ${PREFIX}.
Add benchmark target to enable the benchmark to be run.
1998-09-23 16:56:00 +00:00

28 lines
957 B
Text

$NetBSD: patch-ai,v 1.2 1998/09/23 16:56:01 agc Exp $
--- Results/Makefile.orig Sat Sep 5 09:35:16 1998
+++ Results/Makefile Sat Sep 5 09:36:22 1998
@@ -41,8 +41,8 @@
# RESULTS! USE WITH CARE!
SHELL=/bin/sh
-ARCH=`$(SHELL) ../scripts/config.guess | sed 's/-.*-.*$$//'`
-OS=`$(SHELL) ../scripts/config.guess | sed 's/^.*-.*-//'`
+ARCH=`$(SHELL) @PREFIX@/bin/hbench/config.guess | sed 's/-.*-.*$$//'`
+OS=`$(SHELL) @PREFIX@/bin/hbench/config.guess | sed 's/^.*-.*-//'`
default:
@echo "Select one of the following targets:"
@@ -78,10 +78,10 @@
@echo "a graph of the memory hierarchy latency for a given machine."
summaries:
- $(SHELL) ../scripts/create-all-summaries
+ $(SHELL) @PREFIX@/bin/hbench/create-all-summaries
analyses:
- $(SHELL) ../scripts/create-all-analyses
+ $(SHELL) @PREFIX@/bin/hbench/create-all-analyses
latencygraphs:
- $(SHELL) ../scripts/create-all-latgraphs
+ $(SHELL) @PREFIX@/bin/hbench/create-all-latgraphs