summaryrefslogtreecommitdiff
path: root/devel/monotone
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2006-04-14 08:58:58 +0000
committerjmmv <jmmv@pkgsrc.org>2006-04-14 08:58:58 +0000
commit622c115707dba060d64b41966442094daa40fb35 (patch)
tree33f5fcd6a445c761ccac041a1909562b1172cbe5 /devel/monotone
parent3e5a0e0052bb5a6f7d684a867c2247136c5ed8a0 (diff)
downloadpkgsrc-622c115707dba060d64b41966442094daa40fb35.tar.gz
Avoid the need for perl during the build.
Diffstat (limited to 'devel/monotone')
-rw-r--r--devel/monotone/distinfo3
-rw-r--r--devel/monotone/patches/patch-aa30
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: