summaryrefslogtreecommitdiff
path: root/devel/cxref
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-10 11:59:09 +0000
committerrillig <rillig@pkgsrc.org>2006-07-10 11:59:09 +0000
commit64895dc026db23e22d0fb035f40518bb7ed4d893 (patch)
tree037073783187de6dd678e4c282c4d73d1b9b3c88 /devel/cxref
parent39fc918cdbdde05b0b0dfff59b10b0ba417cdbd4 (diff)
downloadpkgsrc-64895dc026db23e22d0fb035f40518bb7ed4d893.tar.gz
Don't re-generate the HTML documentation unnecessarily. Patch provided
by Gilles Dauphin in PR 33962.
Diffstat (limited to 'devel/cxref')
-rw-r--r--devel/cxref/Makefile7
-rw-r--r--devel/cxref/distinfo3
-rw-r--r--devel/cxref/patches/patch-aa25
3 files changed, 31 insertions, 4 deletions
diff --git a/devel/cxref/Makefile b/devel/cxref/Makefile
index 192b63e2a78..518d0058e84 100644
--- a/devel/cxref/Makefile
+++ b/devel/cxref/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2006/06/09 15:52:28 minskim Exp $
+# $NetBSD: Makefile,v 1.11 2006/07/10 11:59:09 rillig Exp $
#
DISTNAME= cxref-1.6a
@@ -10,9 +10,10 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gedanken.demon.co.uk/cxref/
COMMENT= C Cross Referencing & Documenting tool
-GNU_CONFIGURE= YES
+GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-cxref-cpp
+CONFIGURE_ARGS+= PERL="" # Don't regenerate documentation
USE_TOOLS+= gmake # uses the $< variable in the GNU way
-USE_TOOLS+= lex yacc
+USE_TOOLS+= lex yacc
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cxref/distinfo b/devel/cxref/distinfo
index 688509b73ad..a7255a06385 100644
--- a/devel/cxref/distinfo
+++ b/devel/cxref/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2006/03/02 19:28:27 drochner Exp $
+$NetBSD: distinfo,v 1.6 2006/07/10 11:59:10 rillig Exp $
SHA1 (cxref-1.6a.tgz) = 248b023f55f5d63c0a6b07b25034d696c3d7d0cb
RMD160 (cxref-1.6a.tgz) = 3715c52efb3abdb002277842919d033c961d6221
Size (cxref-1.6a.tgz) = 394113 bytes
+SHA1 (patch-aa) = 0696dc7e2c027ebbbfb6747ff36ec9f9a36b7a88
diff --git a/devel/cxref/patches/patch-aa b/devel/cxref/patches/patch-aa
new file mode 100644
index 00000000000..e8ff646882f
--- /dev/null
+++ b/devel/cxref/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.4 2006/07/10 12:00:10 rillig Exp $
+
+Don't re-generate the HTML document unnecessarily, which avoids a
+build-time dependency on Perl.
+
+--- doc/Makefile.in.orig 2005-02-01 19:45:07.000000000 +0100
++++ doc/Makefile.in 2006-07-10 13:55:32.000000000 +0200
+@@ -67,7 +67,7 @@ version.h
+
+ ########
+
+-docs : faq-html readme examples
++docs : FAQ.html readme examples
+
+ all : docs
+
+@@ -90,7 +90,7 @@ distclean : clean
+
+ ########
+
+-faq-html : $(srcdir)/FAQ $(srcdir)/FAQ-html.pl
++FAQ.html : $(srcdir)/FAQ $(srcdir)/FAQ-html.pl
+ [ "x$(PERL)" = "x" ] || $(PERL) $(srcdir)/FAQ-html.pl < $(srcdir)/FAQ > FAQ.html
+
+ ########