summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch')
-rw-r--r--meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch65
1 files changed, 65 insertions, 0 deletions
diff --git a/meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch b/meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch
new file mode 100644
index 0000000..2e2873a
--- /dev/null
+++ b/meta/recipes-devtools/mtools/mtools/mtools-makeinfo.patch
@@ -0,0 +1,65 @@
1Upstream-Status: Inappropriate [licensing]
2
3--- mtools-3.9.9/configure.in.orig 2006-04-14 16:05:54.337655192 -0600
4+++ mtools-3.9.9/configure.in 2006-04-14 16:12:29.736545424 -0600
5@@ -21,6 +21,33 @@
6 AC_C_CONST
7 AC_C_INLINE
8
9+AC_CHECK_PROG(MAKEINFO, makeinfo, makeinfo, )
10+if test "x$MAKEINFO" = "x"; then
11+ MAKEINFO="@echo makeinfo missing; true"
12+fi
13+AC_CHECK_PROG(TEXI2DVI, texi2dvi, texi2dvi, )
14+if test "x$TEXI2DVI" = "x"; then
15+ TEXI2DVI="@echo texi2dvi missing; true"
16+fi
17+AC_CHECK_PROG(TEXI2PDF, texi2pdf, texi2pdf, )
18+if test "x$TEXI2PDF" = "x"; then
19+ TEXI2PDF="@echo texi2pdf missing; true"
20+fi
21+AC_CHECK_PROG(TEXI2HTML, texi2html, texi2html, )
22+if test "x$TEXI2HTML" = "x"; then
23+ TEXI2HTML="@echo texi2html missing; true"
24+fi
25+AC_CHECK_PROG(DVI2PS, dvi2ps, dvi2ps, )
26+if test "x$DVI2PS" = "x"; then
27+ DVI2PS="@echo dvi2ps missing; true"
28+fi
29+
30+AC_SUBST(MAKEINFO)
31+AC_SUBST(TEXI2DVI)
32+AC_SUBST(TEXI2PDF)
33+AC_SUBST(TEXI2HTML)
34+AC_SUBST(DVI2PS)
35+
36
37 dnl Check for configuration options
38 dnl Enable OS/2 extended density format disks
39--- mtools-3.9.9/Makefile.in.sav 2006-04-14 15:56:19.000000000 -0600
40+++ mtools-3.9.9/Makefile.in 2006-04-14 16:15:29.315245312 -0600
41@@ -11,10 +11,11 @@
42 USERLDFLAGS =
43 USERLDLIBS =
44
45-MAKEINFO = makeinfo
46-TEXI2DVI = texi2dvi
47-TEXI2PDF = texi2pdf
48-TEXI2HTML = texi2html
49+MAKEINFO = @MAKEINFO@
50+TEXI2DVI = @TEXI2DVI@
51+TEXI2PDF = @TEXI2PDF@
52+TEXI2HTML = @TEXI2HTML@
53+DVI2PS = @DVI2PS@
54
55
56 # do not edit below this line
57@@ -181,7 +182,7 @@
58
59 ps: mtools.ps
60 %.ps: %.dvi
61- dvips -f < $< > $@
62+ $(DVI2PS) -f < $< > $@
63
64 pdf: mtools.pdf
65 %.pdf: %.texi