summaryrefslogtreecommitdiff
path: root/devel/p5-Getopt-Long
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2008-07-27 12:53:26 +0000
committerseb <seb@pkgsrc.org>2008-07-27 12:53:26 +0000
commit1f3d146f8a7d88d38736b174831f0d28f117ccc4 (patch)
tree9311f86d69dc01daa400d42ab64364ce01918ada /devel/p5-Getopt-Long
parent2d5b173d78c8a0e414b68a14f6a4793dd0fc650d (diff)
downloadpkgsrc-1f3d146f8a7d88d38736b174831f0d28f117ccc4.tar.gz
Update to version 2.37.
While here mark this package as not requiring any compiler (empty USE_LANGUAGES variable). Changes since last packaged version (2.35): Changes in version 2.37 ----------------------- * Bugfix: With gnu_compat, --foo= will no longer trigger "Option requires an argument" but return the empty string. Changes in version 2.36 ----------------------- **************** WARNING -- EXPERIMENTAL CODE AHEAD **************** * Parsing options from an arbitrary array The entry point GetOptionsFromArray (exported on demand) can be used to parse command line options that are not passed in via @ARGV, but using an arbitrary array. use Getopt::Long qw(GetOptionsFromArray); $ret = GetOptionsFromArray(\@myopts, ...); * Parsing options from an arbitrary string The entry point GetOptionsFromString (exported on demand) can be used to parse command line options that are not passed in via @ARGV, but using an arbitrary string. use Getopt::Long qw(GetOptionsFromString); $ret = GetOptionsFromString($optstring, ...); Note that upon completion, no arguments may remain in the string. If arguments may remain, call it in list context: ($ret, $args) = GetOptionsFromString($optstring, ...); @$args will have the remaining arguments. **************** END EXPERIMENTAL CODE **************** * Number values for options may include underscores for readability (just like Perls numbers). * Bugfix for Ticket #19432 (found and fixed by khali). * Bugfix to make it cooperate with the bignum pragma. Thanks to Merijn and Yves. * Various small fixes to make the test suite run under 5.004_05. * More examples (skeletons).
Diffstat (limited to 'devel/p5-Getopt-Long')
-rw-r--r--devel/p5-Getopt-Long/Makefile5
-rw-r--r--devel/p5-Getopt-Long/distinfo8
2 files changed, 7 insertions, 6 deletions
diff --git a/devel/p5-Getopt-Long/Makefile b/devel/p5-Getopt-Long/Makefile
index af1d3b58f23..b6d9acf476e 100644
--- a/devel/p5-Getopt-Long/Makefile
+++ b/devel/p5-Getopt-Long/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2008/06/20 01:09:16 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2008/07/27 12:53:26 seb Exp $
-DISTNAME= Getopt-Long-2.35
+DISTNAME= Getopt-Long-2.37
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/J/JV/JV/}
@@ -12,6 +12,7 @@ COMMENT= Extended processing of command line options
PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT= user-destdir
+USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/Getopt/Long/.packlist
.include "../../lang/perl5/module.mk"
diff --git a/devel/p5-Getopt-Long/distinfo b/devel/p5-Getopt-Long/distinfo
index 5fc33286224..4183e1b8502 100644
--- a/devel/p5-Getopt-Long/distinfo
+++ b/devel/p5-Getopt-Long/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/02/15 23:28:21 abs Exp $
+$NetBSD: distinfo,v 1.2 2008/07/27 12:53:26 seb Exp $
-SHA1 (Getopt-Long-2.35.tar.gz) = 68ef2adf585c3d5264df2c53d064dbc5ae2c3b0d
-RMD160 (Getopt-Long-2.35.tar.gz) = 99cd6e28e3e2330369113301e4c5d24df3ebbaec
-Size (Getopt-Long-2.35.tar.gz) = 36689 bytes
+SHA1 (Getopt-Long-2.37.tar.gz) = 84e231ba85f19308ff9d67be609f6bc546d5f3a6
+RMD160 (Getopt-Long-2.37.tar.gz) = e4b9a1abb4a5da2cb664e5a7d96188b3689b9700
+Size (Getopt-Long-2.37.tar.gz) = 41006 bytes