diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-10-25 04:48:06 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2005-10-25 04:48:06 +0000 |
commit | 01d64e0c1bc5e45f41c3c794a31cac1cb9b3948d (patch) | |
tree | c47d415cf99cdb3f502bf48525dc3541d18c6bf2 | |
parent | Fix INDEX build, and correct broken dependency. (diff) |
Correct compilation with perl 5.005.
Notes
Notes:
svn path=/head/; revision=146296
-rw-r--r-- | devel/portlint/Makefile | 1 | ||||
-rw-r--r-- | devel/portlint/src/portlint.pl | 4 | ||||
-rw-r--r-- | ports-mgmt/portlint/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/portlint/src/portlint.pl | 4 |
4 files changed, 6 insertions, 4 deletions
diff --git a/devel/portlint/Makefile b/devel/portlint/Makefile index 3f5da09594d1..66ef339b2825 100644 --- a/devel/portlint/Makefile +++ b/devel/portlint/Makefile @@ -9,6 +9,7 @@ PORTNAME= portlint PORTVERSION= 2.7.5 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= # none DISTFILES= # none diff --git a/devel/portlint/src/portlint.pl b/devel/portlint/src/portlint.pl index 20a32d269da1..1216954960c5 100644 --- a/devel/portlint/src/portlint.pl +++ b/devel/portlint/src/portlint.pl @@ -17,7 +17,7 @@ # OpenBSD and NetBSD will be accepted. # # $FreeBSD$ -# $MCom: portlint/portlint.pl,v 1.89 2005/10/22 19:43:02 marcus Exp $ +# $MCom: portlint/portlint.pl,v 1.90 2005/10/25 04:46:34 marcus Exp $ # use vars qw/ $opt_a $opt_A $opt_b $opt_C $opt_c $opt_h $opt_t $opt_v $opt_M $opt_N $opt_B $opt_V /; @@ -1191,7 +1191,7 @@ sub checkmakefile { # whole file: BROKEN et al. # my($var); - foreach $var qw(BROKEN FORBIDDEN MANUAL_PACKAGE_BUILD NO_CDROM NO_PACKAGE RESTRICTED) { + foreach $var (qw(BROKEN FORBIDDEN MANUAL_PACKAGE_BUILD NO_CDROM NO_PACKAGE RESTRICTED)) { print "OK: checking ${var}.\n" if ($verbose); if ($whole =~ /\n${var}[+?]?=[ \t]?[^"]+\w+/) { my $lineno = &linenumber($`); diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile index 3f5da09594d1..66ef339b2825 100644 --- a/ports-mgmt/portlint/Makefile +++ b/ports-mgmt/portlint/Makefile @@ -9,6 +9,7 @@ PORTNAME= portlint PORTVERSION= 2.7.5 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= # none DISTFILES= # none diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl index 20a32d269da1..1216954960c5 100644 --- a/ports-mgmt/portlint/src/portlint.pl +++ b/ports-mgmt/portlint/src/portlint.pl @@ -17,7 +17,7 @@ # OpenBSD and NetBSD will be accepted. # # $FreeBSD$ -# $MCom: portlint/portlint.pl,v 1.89 2005/10/22 19:43:02 marcus Exp $ +# $MCom: portlint/portlint.pl,v 1.90 2005/10/25 04:46:34 marcus Exp $ # use vars qw/ $opt_a $opt_A $opt_b $opt_C $opt_c $opt_h $opt_t $opt_v $opt_M $opt_N $opt_B $opt_V /; @@ -1191,7 +1191,7 @@ sub checkmakefile { # whole file: BROKEN et al. # my($var); - foreach $var qw(BROKEN FORBIDDEN MANUAL_PACKAGE_BUILD NO_CDROM NO_PACKAGE RESTRICTED) { + foreach $var (qw(BROKEN FORBIDDEN MANUAL_PACKAGE_BUILD NO_CDROM NO_PACKAGE RESTRICTED)) { print "OK: checking ${var}.\n" if ($verbose); if ($whole =~ /\n${var}[+?]?=[ \t]?[^"]+\w+/) { my $lineno = &linenumber($`); |