summaryrefslogtreecommitdiff
path: root/benchmarks/ubench/files/patch-aa
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-06-06 13:36:39 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-06-06 13:36:39 +0000
commit539331c4d9e500b1772f05cbaf01d83bcbe60db6 (patch)
tree4b7f4a6c26b9876a1173be958fa24ea5720a0ada /benchmarks/ubench/files/patch-aa
parentFix build. (diff)
Initial import of ubench - yet another *nix benchmarking utility.
PR: 19049 Submitted by: Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
Diffstat (limited to 'benchmarks/ubench/files/patch-aa')
-rw-r--r--benchmarks/ubench/files/patch-aa38
1 files changed, 38 insertions, 0 deletions
diff --git a/benchmarks/ubench/files/patch-aa b/benchmarks/ubench/files/patch-aa
new file mode 100644
index 000000000000..3c31523047fd
--- /dev/null
+++ b/benchmarks/ubench/files/patch-aa
@@ -0,0 +1,38 @@
+--- configure.orig Mon May 29 04:46:09 2000
++++ configure Tue Jun 6 16:21:42 2000
+@@ -12,7 +12,8 @@
+ ###############################################################################
+
+ #DEFINES=-DDEBUG
+-INSTALLDIR= /usr/local/bin
++INSTALLDIR= \$(PREFIX)/bin
++MANDIR= \$(PREFIX)/man/man8
+
+ !
+
+@@ -113,8 +114,8 @@
+ ;;
+ *)
+ cat <<! >> Makefile
+-CC = cc
+-CFLAGS =
++CC ?= cc
++CFLAGS += -D${SYSTEM}
+ LDFLAGS = -lm
+ INCLUDES = -I.
+
+@@ -134,11 +135,11 @@
+ %.o: %.c
+ \$(CC) \$(CFLAGS) \$(INCLUDES) -c \$<
+
+-default: ubench
++all: ubench
+
+ install: ubench
+- mv -f \$(INSTALLDIR)/ubench \$(INSTALLDIR)/ubench.old
+- install -c -m 0555 ubench \$(INSTALLDIR)
++ \$(BSD_INSTALL_MAN) ubench.8 \$(MANDIR)
++ \$(BSD_INSTALL_PROGRAM) ubench \$(INSTALLDIR)
+
+ utime: \$(utimeobjects)
+ \$(CC) \$(CFLAGS) \$(LDFLAGS) -o \$@ \$^