diff options
Diffstat (limited to 'devel/monotone/patches')
-rw-r--r-- | devel/monotone/patches/patch-aa | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/devel/monotone/patches/patch-aa b/devel/monotone/patches/patch-aa new file mode 100644 index 00000000000..30269ec874c --- /dev/null +++ b/devel/monotone/patches/patch-aa @@ -0,0 +1,30 @@ +$NetBSD: patch-aa,v 1.6 2006/04/14 08:58:58 jmmv Exp $ + +--- Makefile.in.orig 2006-04-09 04:46:33.000000000 +0200 ++++ Makefile.in +@@ -8328,10 +8328,9 @@ monotone.html: monotone.texi version.tex + cp $(srcdir)/texinfo.css .; \ + fi + makeinfo -I $(srcdir) --no-split --no-headers --output $@ --html $< +- perl -i.perlbak -pe 's@<head>@<head>\n<link type="text/css" rel="stylesheet" href="texinfo.css" />@' $@ +- rm -f $@.perlbak +- +-# The .perlbak thing is needed, otherwise the perl executions fails on MinGW ++ cp $@ $@.bak ++ sed -e 's,<head>,<head><link type="text/css" rel="stylesheet" href="texinfo.css" />,' $@.bak >$@ ++ rm -f $@.bak + + html: monotone.texi version.texi std_hooks.lua texinfo.css + if $(CHECK_SRCDIR_EQ_BUILDDIR); then :; else \ +@@ -8341,8 +8340,9 @@ html: monotone.texi version.texi std_hoo + cp -r $(srcdir)/figures $@ + cp $(srcdir)/texinfo.css $@ + makeinfo -I $(srcdir) --number-sections --html --output $@ $< +- perl -i.perlbak -pe 's@<head>@<head>\n<link type="text/css" rel="stylesheet" href="texinfo.css" />@' $@/*.html +- rm -f $@/*.perlbak ++ cp $@ $@.bak ++ sed -e 's,<head>,<head><link type="text/css" rel="stylesheet" href="texinfo.css" />,' $@.bak >$@ ++ rm -f $@.bak + # 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: |