summaryrefslogtreecommitdiff
path: root/benchmarks/ubench/patches
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2005-09-03 05:57:45 +0000
committerxtraeme <xtraeme@pkgsrc.org>2005-09-03 05:57:45 +0000
commit7844bb2f3e51da8d0e965c500116f6fb8708a672 (patch)
treeea39bf0d42b96511ff34507fd5115b85b619bfc3 /benchmarks/ubench/patches
parent6b4ddbe438f2679b7b44af78706d52de442f04ea (diff)
downloadpkgsrc-7844bb2f3e51da8d0e965c500116f6fb8708a672.tar.gz
Initial import of ubench-0.32.
The Unix Benchmark Utility "ubench" provides a single mesure of performance for machines running various flavors of Unix operating systems.
Diffstat (limited to 'benchmarks/ubench/patches')
-rw-r--r--benchmarks/ubench/patches/patch-aa29
1 files changed, 29 insertions, 0 deletions
diff --git a/benchmarks/ubench/patches/patch-aa b/benchmarks/ubench/patches/patch-aa
new file mode 100644
index 00000000000..20e9762a1ce
--- /dev/null
+++ b/benchmarks/ubench/patches/patch-aa
@@ -0,0 +1,29 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/09/03 05:57:45 xtraeme Exp $
+
+--- Makefile.orig 2005-09-03 07:50:21.000000000 +0200
++++ Makefile 2005-09-03 07:51:42.000000000 +0200
+@@ -8,11 +8,11 @@
+ ###############################################################################
+
+ #DEFINES=-DDEBUG
+-INSTALLDIR= /usr/local/bin
++INSTALLDIR=/usr/local/bin
+
+-CC = gcc
+-CFLAGS = -O2 -m486 -Wall -malign-loops=2 -malign-jumps=2 -malign-functions=2 -fomit-frame-pointer
+-LDFLAGS = -s -lm
++#CC = gcc
++#CFLAGS = -O2 -m486 -Wall -malign-loops=2 -malign-jumps=2 -malign-functions=2 -fomit-frame-pointer
++LDFLAGS += -s -lm
+ INCLUDES = -I.
+
+ objects = signals.o cpubench.o membench.o ubench.o
+@@ -29,7 +29,7 @@
+ default: ubench
+
+ install: ubench
+- install -c -m 0555 ubench $(INSTALLDIR)
++ $(BSD_INSTALL_PROGRAM) ubench $(INSTALLDIR)
+
+ utime: $(utimeobjects)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^