summaryrefslogtreecommitdiff
path: root/benchmarks/postal/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/postal/patches/patch-ac')
-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 $<