summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/m4/m4/make.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/m4/m4/make.patch')
-rw-r--r--meta/recipes-devtools/m4/m4/make.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-devtools/m4/m4/make.patch b/meta/recipes-devtools/m4/m4/make.patch
new file mode 100644
index 0000000..79fb415
--- /dev/null
+++ b/meta/recipes-devtools/m4/m4/make.patch
@@ -0,0 +1,42 @@
1Upstream-Status: Inappropriate [embedded specific]
2
3#
4# Patch managed by http://www.holgerschurig.de/patcher.html
5#
6
7--- m4-1.4.2/doc/Makefile.in~make
8+++ m4-1.4.2/doc/Makefile.in
9@@ -57,9 +57,9 @@
10 date > $(srcdir)/stamp-vti
11
12 install: all
13- $(srcdir)/../mkinstalldirs $(infodir)
14+ $(srcdir)/../mkinstalldirs $(DESTDIR)$(infodir)
15 cd $(srcdir) && for file in m4.info*; do \
16- $(INSTALL_DATA) $$file $(infodir)/$$file; \
17+ $(INSTALL_DATA) $$file $(DESTDIR)$(infodir)/$$file; \
18 done
19
20 uninstall:
21--- m4-1.4.2/src/Makefile.in~make
22+++ m4-1.4.2/src/Makefile.in
23@@ -35,7 +35,7 @@
24 prefix = @prefix@
25 exec_prefix = @exec_prefix@
26 transform = @program_transform_name@
27-bindir = $(exec_prefix)/bin
28+bindir = @bindir@
29
30 COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
31 LINK = $(CC) $(LDFLAGS) -o $@
32@@ -84,8 +84,8 @@
33 $(LINK) ansi2knr.o $(LIBS)
34
35 install: all
36- $(srcdir)/../mkinstalldirs $(bindir)
37- $(INSTALL_PROGRAM) m4 $(bindir)/`echo m4 | sed '$(transform)'`
38+ $(srcdir)/../mkinstalldirs $(DESTDIR)$(bindir)
39+ $(INSTALL_PROGRAM) m4 $(DESTDIR)$(bindir)/`echo m4 | sed '$(transform)'`
40
41 uninstall:
42 rm -f $(bindir)/`echo m4 | sed '$(transform)'`