diff options
Diffstat (limited to 'external/meta-openembedded/meta-oe/recipes-benchmark/dbench/files')
-rw-r--r-- | external/meta-openembedded/meta-oe/recipes-benchmark/dbench/files/destdir.patch | 28 | ||||
-rw-r--r-- | external/meta-openembedded/meta-oe/recipes-benchmark/dbench/files/makefile.patch | 18 |
2 files changed, 46 insertions, 0 deletions
diff --git a/external/meta-openembedded/meta-oe/recipes-benchmark/dbench/files/destdir.patch b/external/meta-openembedded/meta-oe/recipes-benchmark/dbench/files/destdir.patch new file mode 100644 index 00000000..4cd2a35f --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-benchmark/dbench/files/destdir.patch @@ -0,0 +1,28 @@ +Append $(DESTDIR) to all $(bindir), $(datadir) and $(mandir). Got +this patch from OE commit id 709c4d66e0b107ca606941b988bad717c0b45d9b + +Upstream-Status: Inappropriate [not author] + +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} @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 + + clean: + rm -f *.o *~ dbench tbench tbench_srv diff --git a/external/meta-openembedded/meta-oe/recipes-benchmark/dbench/files/makefile.patch b/external/meta-openembedded/meta-oe/recipes-benchmark/dbench/files/makefile.patch new file mode 100644 index 00000000..11fb4ffb --- /dev/null +++ b/external/meta-openembedded/meta-oe/recipes-benchmark/dbench/files/makefile.patch @@ -0,0 +1,18 @@ +Add space between install -m option and its argument. Got this patch from +OE 709c4d66e0b107ca606941b988bad717c0b45d9b + +Upstream-Status: Inappropriate [not author] + +Index: dbench-4.0/Makefile.in +=================================================================== +--- dbench-4.0.orig/Makefile.in ++++ 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} @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 + |