diff options
author | Vincent Batts <vbatts@batts.mine.nu> | 2010-05-11 22:55:12 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 22:55:12 +0200 |
commit | 9ecea32e5ff87919b95d0ca9660fd8f06413bfc9 (patch) | |
tree | 5e3c36126681583040e468c27e5fb2a5a585dbc6 /system/bonnie++/Makefile.in_DESTDIR.diff | |
parent | 7c80225839bb4bb84d4930df1ffb2b65a3ee330b (diff) | |
download | slackbuilds-9ecea32e5ff87919b95d0ca9660fd8f06413bfc9.tar.gz |
system/bonnie++: Added to 12.1 repository
Diffstat (limited to 'system/bonnie++/Makefile.in_DESTDIR.diff')
-rw-r--r-- | system/bonnie++/Makefile.in_DESTDIR.diff | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/system/bonnie++/Makefile.in_DESTDIR.diff b/system/bonnie++/Makefile.in_DESTDIR.diff new file mode 100644 index 0000000000..3b556e0b09 --- /dev/null +++ b/system/bonnie++/Makefile.in_DESTDIR.diff @@ -0,0 +1,34 @@ +Small patch to add DESTDIR support for easier packaging +Use as you wish. --Robby Workman <rworkman@slackware.com> + +--- orig/Makefile.in 2008-02-20 13:53:26.319108308 -0600 ++++ new/Makefile.in 2008-02-20 14:17:25.875109567 -0600 +@@ -4,6 +4,7 @@ + + SCRIPTS=bon_csv2html bon_csv2txt + ++DESTDIR = + prefix=@prefix@ + eprefix=@exec_prefix@ + #MORE_WARNINGS=-Weffc++ -Wcast-align +@@ -33,14 +34,14 @@ + $(CXX) zcav.cpp -o zcav $(ZCAVOBJS) $(LFLAGS) + + install-bin: $(EXES) +- mkdir -p $(eprefix)/bin $(eprefix)/sbin +- @INSTALL_PROGRAM@ @stripping@ $(EXES) $(eprefix)/sbin +- @INSTALL_SCRIPT@ $(SCRIPTS) $(eprefix)/bin ++ mkdir -p $(DESTDIR)/$(eprefix)/bin $(DESTDIR)/$(eprefix)/sbin ++ @INSTALL_PROGRAM@ @stripping@ $(EXES) $(DESTDIR)/$(eprefix)/sbin ++ @INSTALL_SCRIPT@ $(SCRIPTS) $(DESTDIR)/$(eprefix)/bin + + install: install-bin +- mkdir -p @mandir@/man1 @mandir@/man8 +- @INSTALL_DATA@ $(MAN1) @mandir@/man1 +- @INSTALL_DATA@ $(MAN8) @mandir@/man8 ++ mkdir -p $(DESTDIR)/@mandir@/man1 $(DESTDIR)/@mandir@/man8 ++ @INSTALL_DATA@ $(MAN1) $(DESTDIR)/@mandir@/man1 ++ @INSTALL_DATA@ $(MAN8) $(DESTDIR)/@mandir@/man8 + + %.o: %.cpp %.h bonnie.h port.h + $(CXX) -c $< |