summaryrefslogtreecommitdiff
path: root/community/bsdiff/Makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/bsdiff/Makefile.patch')
-rw-r--r--community/bsdiff/Makefile.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/community/bsdiff/Makefile.patch b/community/bsdiff/Makefile.patch
new file mode 100644
index 000000000..b2a3ffa82
--- /dev/null
+++ b/community/bsdiff/Makefile.patch
@@ -0,0 +1,25 @@
+--- Makefile.old 2005-08-17 00:14:10.000000000 +0200
++++ Makefile 2007-09-15 12:32:07.000000000 +0200
+@@ -1,15 +1,16 @@
+ CFLAGS += -O3 -lbz2
+
+ PREFIX ?= /usr/local
+-INSTALL_PROGRAM ?= ${INSTALL} -c -s -m 555
+-INSTALL_MAN ?= ${INSTALL} -c -m 444
++INSTALL = /bin/install
++INSTALL_PROGRAM ?= ${INSTALL} -D -m755
++INSTALL_MAN ?= ${INSTALL} -D -m644
+
+ all: bsdiff bspatch
+ bsdiff: bsdiff.c
+ bspatch: bspatch.c
+
+ install:
+- ${INSTALL_PROGRAM} bsdiff bspatch ${PREFIX}/bin
+-.ifndef WITHOUT_MAN
+- ${INSTALL_MAN} bsdiff.1 bspatch.1 ${PREFIX}/man/man1
+-.endif
++ ${INSTALL_PROGRAM} bsdiff ${PREFIX}/bin/bsdiff
++ ${INSTALL_PROGRAM} bspatch ${PREFIX}/bin/bspatch
++ ${INSTALL_MAN} bsdiff.1 ${PREFIX}/man/man1/bsdiff.1
++ ${INSTALL_MAN} bspatch.1 ${PREFIX}/man/man1/bspatch.1