From 9fab57528848c104a95662bfb416378d7e50d666 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Thu, 6 Mar 2008 16:41:49 +0000 Subject: dbench 3.04 update to 4.0 and apply patch to make it compile again --- packages/dbench/files/destdir.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 packages/dbench/files/destdir.patch (limited to 'packages/dbench/files/destdir.patch') diff --git a/packages/dbench/files/destdir.patch b/packages/dbench/files/destdir.patch new file mode 100644 index 0000000000..9fe1508f97 --- /dev/null +++ b/packages/dbench/files/destdir.patch @@ -0,0 +1,23 @@ +Index: dbench-3.04/Makefile.in +=================================================================== +--- dbench-3.04.orig/Makefile.in 2006-09-17 20:21:07.000000000 +0200 ++++ dbench-3.04/Makefile.in 2006-09-17 20:21:36.000000000 +0200 +@@ -32,12 +32,12 @@ + + # Careful here: don't install client.txt over itself. + install: all +- ${INSTALLCMD} -d $(bindir) $(datadir) $(mandir) +- ${INSTALLCMD} dbench tbench tbench_srv $(bindir) +- ${INSTALLCMD} client.txt $(datadir) +- ${INSTALLCMD} -m644 dbench.1 $(mandir) +- ln -sf dbench.1 $(mandir)/tbench.1 +- ln -sf dbench.1 $(mandir)/tbench_srv.1 ++ ${INSTALLCMD} -d $(DESTDIR)$(bindir) $(DESTDIR)$(datadir) $(DESTDIR)$(mandir) ++ ${INSTALLCMD} dbench tbench tbench_srv $(DESTDIR)$(bindir) ++ ${INSTALLCMD} client.txt $(DESTDIR)$(datadir) ++ ${INSTALLCMD} -m644 dbench.1 $(DESTDIR)$(mandir) ++ ln -sf dbench.1 $(DESTDIR)$(mandir)/tbench.1 ++ ln -sf dbench.1 $(DESTDIR)$(mandir)/tbench_srv.1 + + clean: + rm -f *.o *~ dbench tbench tbench_srv -- cgit v1.2.3