diff options
author | rillig <rillig@pkgsrc.org> | 2006-11-12 01:44:57 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-11-12 01:44:57 +0000 |
commit | fb70424dda7cbd63cea5d3f8bcfe9c7c5476a676 (patch) | |
tree | f7c288ecf31c8bc907569e511d30bd8815844e74 /textproc/kdoc/patches | |
parent | e67ab900dbef5d2f43d936d030d87552f24efd78 (diff) | |
download | pkgsrc-fb70424dda7cbd63cea5d3f8bcfe9c7c5476a676.tar.gz |
Fixed perl detection and some pkglint warnings.
Diffstat (limited to 'textproc/kdoc/patches')
-rw-r--r-- | textproc/kdoc/patches/patch-aa | 21 | ||||
-rw-r--r-- | textproc/kdoc/patches/patch-ab | 31 |
2 files changed, 52 insertions, 0 deletions
diff --git a/textproc/kdoc/patches/patch-aa b/textproc/kdoc/patches/patch-aa new file mode 100644 index 00000000000..3ebadaece08 --- /dev/null +++ b/textproc/kdoc/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.3 2006/11/12 01:44:57 rillig Exp $ + +--- configure.orig 2006-11-12 02:33:24.000000000 +0100 ++++ configure 2006-11-12 02:42:24.000000000 +0100 +@@ -988,15 +988,7 @@ test -z "$INSTALL_SCRIPT" && INSTALL_SCR + + test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +-echo "$as_me:991: checking for perl 5.6 or greater" >&5 +-echo $ECHO_N "checking for perl 5.6 or greater... $ECHO_C" >&6 +-if $srcdir/findperl; then +- perl=`cat perlbin` +- echo $perl +-else +- echo "Couldn't find perl 5.6 or later. kdoc will not run." +- exit 1 +-fi ++perl=$PERL + + echo "$as_me:1001: checking kdoc version" >&5 + echo $ECHO_N "checking kdoc version... $ECHO_C" >&6 diff --git a/textproc/kdoc/patches/patch-ab b/textproc/kdoc/patches/patch-ab new file mode 100644 index 00000000000..cff72e8ebdd --- /dev/null +++ b/textproc/kdoc/patches/patch-ab @@ -0,0 +1,31 @@ +$NetBSD: patch-ab,v 1.1 2006/11/12 01:44:57 rillig Exp $ + +--- configure.in.orig 2001-02-19 22:24:37.000000000 +0100 ++++ configure.in 2006-11-12 02:41:33.000000000 +0100 +@@ -1,16 +1,6 @@ + AC_INIT(src/qt2kdoc) + +-AC_DEFUN(AC_FIND_PERL, +-[ +-AC_MSG_CHECKING(for perl 5.6 or greater) +-if $srcdir/findperl; then +- $1=`cat perlbin` +- echo $$1 +-else +- echo "Couldn't find perl 5.6 or later. kdoc will not run." +- exit 1 +-fi +-]) ++AC_PATH_PROG(PERL, perl) + + AC_DEFUN(AC_KDOC_VERSION, + [ +@@ -34,7 +24,7 @@ AC_SUBST(htmldir) + + + AC_PROG_INSTALL +-AC_FIND_PERL(perl) ++perl=$PERL + AC_SUBST(perl) + AC_KDOC_VERSION(Version) + AC_SUBST(Version) |