summaryrefslogtreecommitdiff
path: root/benchmarks/postal/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
committerjoerg <joerg@pkgsrc.org>2008-06-12 02:14:13 +0000
commitba171a91fab519f587b027c1a2888cb6e3fce049 (patch)
treec12b9c282e2706cb6bac87456615dfdf2b256e55 /benchmarks/postal/patches
parent3ba79d294eb62e9c75cc32d37b4af7759af8c9d6 (diff)
downloadpkgsrc-ba171a91fab519f587b027c1a2888cb6e3fce049.tar.gz
Add DESTDIR support.
Diffstat (limited to 'benchmarks/postal/patches')
-rw-r--r--benchmarks/postal/patches/patch-ac21
1 files changed, 21 insertions, 0 deletions
diff --git a/benchmarks/postal/patches/patch-ac b/benchmarks/postal/patches/patch-ac
new file mode 100644
index 00000000000..e8b04311779
--- /dev/null
+++ b/benchmarks/postal/patches/patch-ac
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.1 2008/06/12 02:14:15 joerg Exp $
+
+--- Makefile.in.orig 2008-06-11 09:51:31.000000000 +0000
++++ Makefile.in
+@@ -32,12 +32,12 @@ postal-list: postal-list.cpp expand.o
+ $(CXX) postal-list.cpp expand.o -o postal-list $(LFLAGS)
+
+ install-bin: $(EXE)
+- mkdir -p $(eprefix)/sbin
+- @INSTALL_PROGRAM@ @stripping@ $(EXE) $(eprefix)/sbin
++ mkdir -p ${DESTDIR}$(eprefix)/sbin
++ @INSTALL_PROGRAM@ @stripping@ $(EXE) ${DESTDIR}$(eprefix)/sbin
+
+ install: install-bin
+- mkdir -p @mandir@/man8
+- @INSTALL_DATA@ $(MAN8) @mandir@/man8
++ mkdir -p ${DESTDIR}@mandir@/man8
++ @INSTALL_DATA@ $(MAN8) ${DESTDIR}@mandir@/man8
+
+ %.o: %.cpp %.h postal.h
+ $(CXX) -c $<