summaryrefslogtreecommitdiff
path: root/data/grep/destdir.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/grep/destdir.diff')
-rw-r--r--data/grep/destdir.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/data/grep/destdir.diff b/data/grep/destdir.diff
new file mode 100644
index 000000000..6c28ab173
--- /dev/null
+++ b/data/grep/destdir.diff
@@ -0,0 +1,25 @@
+diff -r -u grep-2.5/src/Makefile.am grep-2.5+iPhone/src/Makefile.am
+--- grep-2.5/src/Makefile.am 2002-03-13 15:20:13.000000000 +0000
++++ grep-2.5+iPhone/src/Makefile.am 2007-12-26 23:59:25.000000000 +0000
+@@ -18,5 +18,5 @@
+ vms_fab.c vms_fab.h
+
+ install-exec-local:
+- @SYMLINK@ @SYMLINKFROM@ $(bindir)/egrep
+- @SYMLINK@ @SYMLINKFROM@ $(bindir)/fgrep
++ @SYMLINK@ @SYMLINKFROM@ $(DESTDIR)$(bindir)/egrep
++ @SYMLINK@ @SYMLINKFROM@ $(DESTDIR)$(bindir)/fgrep
+diff -r -u grep-2.5/src/Makefile.in grep-2.5+iPhone/src/Makefile.in
+--- grep-2.5/src/Makefile.in 2002-03-13 15:23:51.000000000 +0000
++++ grep-2.5+iPhone/src/Makefile.in 2007-12-26 23:59:16.000000000 +0000
+@@ -354,8 +354,8 @@
+
+
+ install-exec-local:
+- @SYMLINK@ @SYMLINKFROM@ $(bindir)/egrep
+- @SYMLINK@ @SYMLINKFROM@ $(bindir)/fgrep
++ @SYMLINK@ @SYMLINKFROM@ $(DESTDIR)$(bindir)/egrep
++ @SYMLINK@ @SYMLINKFROM@ $(DESTDIR)$(bindir)/fgrep
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: