p7zip: fix man page paths
[oi-userland.git] / components / sysutils / bonnie++ / patches / 01-Makefile.in.patch
blob5c96ad650f193c500a68ec0cd17b044ef3613ac6
1 --- bonnie++-1.97.3/Makefile.in.~1~ 2017-10-27 23:21:57.314828968 +0000
2 +++ bonnie++-1.97.3/Makefile.in 2017-10-27 23:27:26.094316079 +0000
3 @@ -52,15 +52,15 @@
4 $(LINK) generate_randfile.o -o generate_randfile
6 install-bin: $(EXE) $(EXES)
7 - mkdir -p $(eprefix)/bin $(eprefix)/sbin
8 - @INSTALL_PROGRAM@ @stripping@ $(EXES) $(eprefix)/sbin
9 - @INSTALL_PROGRAM@ @stripping@ $(EXE) $(eprefix)/bin
10 - @INSTALL_SCRIPT@ $(SCRIPTS) $(eprefix)/bin
11 + mkdir -p $(DESTDIR)/$(eprefix)/bin $(DESTDIR)/usr/benchmarks/bonnie++
12 + @INSTALL_PROGRAM@ @stripping@ $(EXE) $(DESTDIR)/usr/benchmarks/bonnie++
13 + @INSTALL_PROGRAM@ @stripping@ $(EXES) $(DESTDIR)/usr/benchmarks/bonnie++
14 + @INSTALL_SCRIPT@ $(SCRIPTS) $(DESTDIR)/usr/benchmarks/bonnie++
16 install: install-bin
17 - mkdir -p @mandir@/man1 @mandir@/man8
18 - @INSTALL_DATA@ $(MAN1) @mandir@/man1
19 - @INSTALL_DATA@ $(MAN8) @mandir@/man8
20 + mkdir -p $(DESTDIR)/@mandir@/man1 $(DESTDIR)/@mandir@/man8
21 + @INSTALL_DATA@ $(MAN1) $(DESTDIR)/@mandir@/man1
22 + @INSTALL_DATA@ $(MAN8) $(DESTDIR)/@mandir@/man1
24 %.o: %.cpp
25 $(CXX) -c $<