diff options
author | tron <tron@pkgsrc.org> | 2013-11-19 10:46:06 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2013-11-19 10:46:06 +0000 |
commit | 7484db737355968f8548ae11d52e1579d22c6a2b (patch) | |
tree | a98b0e9dceed8302ebdebf9f03d550c7c9bdb559 /pkgtools | |
parent | eb2aaa57b057d38b5942b8b2006f94c60d299470 (diff) | |
download | pkgsrc-7484db737355968f8548ae11d52e1579d22c6a2b.tar.gz |
Update "port2pkg" package to version 1.14. It now works with modern
version of Perl, in particular the one distributed with "pkgsrc".
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/port2pkg/Makefile | 6 | ||||
-rwxr-xr-x | pkgtools/port2pkg/files/port2pkg.pl | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/pkgtools/port2pkg/Makefile b/pkgtools/port2pkg/Makefile index 71eb6768531..c98de047670 100644 --- a/pkgtools/port2pkg/Makefile +++ b/pkgtools/port2pkg/Makefile @@ -1,8 +1,6 @@ -# $NetBSD: Makefile,v 1.40 2013/05/31 12:41:46 wiz Exp $ -# +# $NetBSD: Makefile,v 1.41 2013/11/19 10:46:06 tron Exp $ -DISTNAME= port2pkg-1.13 -PKGREVISION= 2 +DISTNAME= port2pkg-1.14 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/port2pkg/files/port2pkg.pl b/pkgtools/port2pkg/files/port2pkg.pl index 6ea47fb0c29..a0a60ad92fd 100755 --- a/pkgtools/port2pkg/files/port2pkg.pl +++ b/pkgtools/port2pkg/files/port2pkg.pl @@ -1,9 +1,10 @@ #!/usr/bin/env perl # -# $NetBSD: port2pkg.pl,v 1.20 2012/01/02 12:15:48 joerg Exp $ +# $NetBSD: port2pkg.pl,v 1.21 2013/11/19 10:46:06 tron Exp $ # -require 'getopts.pl'; +use Getopt::Std; + $^W=1; use strict; use vars qw($opt_m); @@ -14,7 +15,7 @@ my($namespace, $portname, $portversion, $distname, $pkgname, $pkgnameprefix, $pkgnamesuffix); my(@man, @cat); -&usage_and_exit() if (! &Getopts('m:')); +&usage_and_exit() if (! &getopts('m:')); $|=1; $portsdir = shift; |