dbench: Fix out of tree build
PATCH 1/1 dbench: Fix out of tree build
This fixes the Makefile so the client.txt file is copied from the original source tree. This fixes the out of tree build error.
Signed-off-by Otavio Salvador <[email protected]>
--- meta-oe/recipes-benchmark/dbench/files/destdir.patch | 4 ++-- meta-oe/recipes-benchmark/dbench/files/makefile.patch | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
meta-oe/recipes-benchmark/dbench/files/destdir.patch +2 -2
@@ -19,8 +19,8 @@ Index: dbench-3.04/Makefile.in - 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) ++ ${INSTALLCMD} @top_srcdir@/client.txt $(DESTDIR)$(datadir) ++ ${INSTALLCMD} -m644 @top_srcdir@/dbench.1 $(DESTDIR)$(mandir) + ln -sf dbench.1 $(DESTDIR)$(mandir)/tbench.1 + ln -sf dbench.1 $(DESTDIR)$(mandir)/tbench_srv.1
meta-oe/recipes-benchmark/dbench/files/makefile.patch +3 -3
@@ -10,9 +10,9 @@ Index: dbench-4.0/Makefile.in @@ -35,7 +35,7 @@ install: all ${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) -+ ${INSTALLCMD} -m 644 dbench.1 $(DESTDIR)$(mandir) + ${INSTALLCMD} @top_srcdir@/client.txt $(DESTDIR)$(datadir) +- ${INSTALLCMD} -m644 @top_srcdir@/dbench.1 $(DESTDIR)$(mandir) ++ ${INSTALLCMD} -m 644 @top_srcdir@/dbench.1 $(DESTDIR)$(mandir) ln -sf dbench.1 $(DESTDIR)$(mandir)/tbench.1 ln -sf dbench.1 $(DESTDIR)$(mandir)/tbench_srv.1
Signature · 1 line
2.0.0.rc0