summaryrefslogtreecommitdiff
path: root/package/patch/patches/patch-Makefile_in
diff options
context:
space:
mode:
Diffstat (limited to 'package/patch/patches/patch-Makefile_in')
-rw-r--r--package/patch/patches/patch-Makefile_in18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/patch/patches/patch-Makefile_in b/package/patch/patches/patch-Makefile_in
new file mode 100644
index 000000000..eab39b6e8
--- /dev/null
+++ b/package/patch/patches/patch-Makefile_in
@@ -0,0 +1,18 @@
+--- patch-2.5.9.orig/Makefile.in 2003-05-20 18:15:48.000000000 +0200
++++ patch-2.5.9/Makefile.in 2009-06-13 22:52:33.487310060 +0200
+@@ -112,11 +112,11 @@ patch$(EXEEXT): $(OBJS)
+ $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $(OBJS) $(LIBS)
+
+ install:: all installdirs
+- $(INSTALL_PROGRAM) patch$(EXEEXT) $(bindir)/$(patch_name)$(EXEEXT)
+- -$(INSTALL_DATA) $(srcdir)/patch.man $(man1dir)/$(patch_name)$(man1ext)
++ $(INSTALL_PROGRAM) patch$(EXEEXT) $(DESTDIR)/$(bindir)/$(patch_name)$(EXEEXT)
++ -$(INSTALL_DATA) $(srcdir)/patch.man $(DESTDIR)/$(man1dir)/$(patch_name)$(man1ext)
+
+-installdirs::
+- $(SHELL) $(srcdir)/mkinstalldirs $(bindir) $(man1dir)
++installdirs:
++ $(SHELL) $(srcdir)/mkinstalldirs $(DESTDIR)/$(bindir) $(DESTDIR)/$(man1dir)
+
+ install-strip::
+ $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install