diff options
author | jmmv <jmmv> | 2006-04-14 08:58:58 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2006-04-14 08:58:58 +0000 |
commit | 4eff6bd893510c203eb63da8502b4f0f6b031590 (patch) | |
tree | 33f5fcd6a445c761ccac041a1909562b1172cbe5 /devel | |
parent | 36c8e7de1f1b00d8e36666b1a72235ce13ef37e2 (diff) | |
download | pkgsrc-4eff6bd893510c203eb63da8502b4f0f6b031590.tar.gz |
Avoid the need for perl during the build.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/monotone/distinfo | 3 | ||||
-rw-r--r-- | devel/monotone/patches/patch-aa | 30 |
2 files changed, 32 insertions, 1 deletions
diff --git a/devel/monotone/distinfo b/devel/monotone/distinfo index 444f61960f6..566df544732 100644 --- a/devel/monotone/distinfo +++ b/devel/monotone/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.14 2006/04/10 17:45:51 jmmv Exp $ +$NetBSD: distinfo,v 1.15 2006/04/14 08:58:58 jmmv Exp $ SHA1 (monotone-0.26.tar.gz) = 5442ad47b010c9f4e2a55429d0e4a7da449e8e52 RMD160 (monotone-0.26.tar.gz) = 0672b7a60392764a46ecc269a2d83a4f6abb4f59 Size (monotone-0.26.tar.gz) = 5630955 bytes +SHA1 (patch-aa) = 088035e491c3b66fc883204c117486c5d02eb168 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: |