summaryrefslogtreecommitdiff
path: root/benchmarks/bonnie++/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/bonnie++/patches/patch-ab')
-rw-r--r--benchmarks/bonnie++/patches/patch-ab24
1 files changed, 20 insertions, 4 deletions
diff --git a/benchmarks/bonnie++/patches/patch-ab b/benchmarks/bonnie++/patches/patch-ab
index ba96d7f465b..708814b0784 100644
--- a/benchmarks/bonnie++/patches/patch-ab
+++ b/benchmarks/bonnie++/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.3 2003/10/31 11:17:19 gavan Exp $
+$NetBSD: patch-ab,v 1.4 2008/06/20 01:09:08 joerg Exp $
---- Makefile.in.orig 2002-10-13 21:26:36.000000000 +0100
+--- Makefile.in.orig 2002-10-13 20:26:36.000000000 +0000
+++ Makefile.in
-@@ -27,10 +27,10 @@ ZCAVOBJS=$(ZCAVSRC:.cpp=.o)
+@@ -27,20 +27,20 @@ ZCAVOBJS=$(ZCAVSRC:.cpp=.o)
ALLOBJS=$(BONOBJS) $(ZCAVOBJS)
bonnie++: bonnie++.cpp $(BONOBJS)
@@ -14,4 +14,20 @@ $NetBSD: patch-ab,v 1.3 2003/10/31 11:17:19 gavan Exp $
+ $(CXX) zcav.cpp -o zcav $(ZCAVOBJS) $(LDFLAGS)
install-bin: $(EXES)
- mkdir -p $(eprefix)/bin $(eprefix)/sbin
+- mkdir -p $(eprefix)/bin $(eprefix)/sbin
+- @INSTALL_PROGRAM@ @stripping@ $(EXES) $(eprefix)/sbin
+- @INSTALL_SCRIPT@ $(SCRIPTS) $(eprefix)/bin
++ mkdir -p $(eprefix)/bin ${DESTDIR}$(eprefix)/sbin
++ @INSTALL_PROGRAM@ @stripping@ $(EXES) ${DESTDIR}$(eprefix)/sbin
++ @INSTALL_SCRIPT@ $(SCRIPTS) ${DESTDIR}$(eprefix)/bin
+
+ install: install-bin
+- mkdir -p @mandir@/man1 @mandir@/man8
+- @INSTALL_DATA@ $(MAN1) @mandir@/man1
+- @INSTALL_DATA@ $(MAN8) @mandir@/man8
++ mkdir -p @mandir@/man1 ${DESTDIR}@mandir@/man8
++ @INSTALL_DATA@ $(MAN1) ${DESTDIR}@mandir@/man1
++ @INSTALL_DATA@ $(MAN8) ${DESTDIR}@mandir@/man8
+
+ %.o: %.cpp %.h bonnie.h port.h
+ $(CXX) -c $<