pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/monotone Avoid the need for perl during the build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae1e156737b0
branches:  trunk
changeset: 511407:ae1e156737b0
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Fri Apr 14 08:58:58 2006 +0000

description:
Avoid the need for perl during the build.

diffstat:

 devel/monotone/distinfo         |   3 ++-
 devel/monotone/patches/patch-aa |  30 ++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletions(-)

diffs (45 lines):

diff -r 1e495ca2068e -r ae1e156737b0 devel/monotone/distinfo
--- a/devel/monotone/distinfo   Fri Apr 14 08:54:17 2006 +0000
+++ b/devel/monotone/distinfo   Fri Apr 14 08:58:58 2006 +0000
@@ -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 -r 1e495ca2068e -r ae1e156737b0 devel/monotone/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/monotone/patches/patch-aa   Fri Apr 14 08:58:58 2006 +0000
@@ -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:



Home | Main Index | Thread Index | Old Index