diff options
| author | Noor Ahsan <noor_ahsan@mentor.com> | 2011-08-29 12:02:13 +0500 |
|---|---|---|
| committer | Noor Ahsan <noor_ahsan@mentor.com> | 2011-08-29 12:02:13 +0500 |
| commit | 0efa8c83632b62007db2a307b9264eb6bd0ac82f (patch) | |
| tree | e4737505542cb4d7564ef6f64f91ddbe56651cb1 /meta-oe/recipes-benchmark/dbench/files/destdir.patch | |
| parent | 3ebc55d38c82430d7275d457107dd3490b6c967d (diff) | |
| download | meta-openembedded-0efa8c83632b62007db2a307b9264eb6bd0ac82f.tar.gz | |
dbench: Add version 4.0 (initial recipe)
* Imported from oe.dev commit id d6f49fe115206047b41b0195724ba872897ef531
Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Diffstat (limited to 'meta-oe/recipes-benchmark/dbench/files/destdir.patch')
| -rw-r--r-- | meta-oe/recipes-benchmark/dbench/files/destdir.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/dbench/files/destdir.patch b/meta-oe/recipes-benchmark/dbench/files/destdir.patch new file mode 100644 index 0000000000..ca9a8ee207 --- /dev/null +++ b/meta-oe/recipes-benchmark/dbench/files/destdir.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | Append $(DESTDIR) to all $(bindir), $(datadir) and $(mandir). Got | ||
| 2 | this patch from OE commit id 709c4d66e0b107ca606941b988bad717c0b45d9b | ||
| 3 | |||
| 4 | Upstream-Status: Inappropriate [not author] | ||
| 5 | |||
| 6 | Index: dbench-3.04/Makefile.in | ||
| 7 | =================================================================== | ||
| 8 | --- dbench-3.04.orig/Makefile.in 2006-09-17 20:21:07.000000000 +0200 | ||
| 9 | +++ dbench-3.04/Makefile.in 2006-09-17 20:21:36.000000000 +0200 | ||
| 10 | @@ -32,12 +32,12 @@ | ||
| 11 | |||
| 12 | # Careful here: don't install client.txt over itself. | ||
| 13 | install: all | ||
| 14 | - ${INSTALLCMD} -d $(bindir) $(datadir) $(mandir) | ||
| 15 | - ${INSTALLCMD} dbench tbench tbench_srv $(bindir) | ||
| 16 | - ${INSTALLCMD} client.txt $(datadir) | ||
| 17 | - ${INSTALLCMD} -m644 dbench.1 $(mandir) | ||
| 18 | - ln -sf dbench.1 $(mandir)/tbench.1 | ||
| 19 | - ln -sf dbench.1 $(mandir)/tbench_srv.1 | ||
| 20 | + ${INSTALLCMD} -d $(DESTDIR)$(bindir) $(DESTDIR)$(datadir) $(DESTDIR)$(mandir) | ||
| 21 | + ${INSTALLCMD} dbench tbench tbench_srv $(DESTDIR)$(bindir) | ||
| 22 | + ${INSTALLCMD} client.txt $(DESTDIR)$(datadir) | ||
| 23 | + ${INSTALLCMD} -m644 dbench.1 $(DESTDIR)$(mandir) | ||
| 24 | + ln -sf dbench.1 $(DESTDIR)$(mandir)/tbench.1 | ||
| 25 | + ln -sf dbench.1 $(DESTDIR)$(mandir)/tbench_srv.1 | ||
| 26 | |||
| 27 | clean: | ||
| 28 | rm -f *.o *~ dbench tbench tbench_srv | ||
