summaryrefslogtreecommitdiff
path: root/ports-mgmt/portlint
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-07-03 04:52:12 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-07-03 04:52:12 +0000
commitedd625d2fd6e3e50afea3f15ebaffe7520fac6ea (patch)
tree356e5db5a7a03f58cdd9891c386ecbddedab3814 /ports-mgmt/portlint
parentSync with lang/gauche. (diff)
Fix a mismerge in the last OPTIONS patch. I forgot a line, but perl -cw
didn't catch the missing ';'. This should fix the erroneous messages about OPTIONS misuse.
Notes
Notes: svn path=/head/; revision=138366
Diffstat (limited to 'ports-mgmt/portlint')
-rw-r--r--ports-mgmt/portlint/Makefile1
-rw-r--r--ports-mgmt/portlint/src/portlint.pl3
2 files changed, 3 insertions, 1 deletions
diff --git a/ports-mgmt/portlint/Makefile b/ports-mgmt/portlint/Makefile
index d562f8d2ced6..64d1b08a7a6e 100644
--- a/ports-mgmt/portlint/Makefile
+++ b/ports-mgmt/portlint/Makefile
@@ -9,6 +9,7 @@
PORTNAME= portlint
PORTVERSION= 2.7.2
+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 a4938121a8e5..6f533a254a37 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.78 2005/07/02 20:31:33 marcus Exp $
+# $MCom: portlint/portlint.pl,v 1.79 2005/07/03 04:49:07 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 /;
@@ -1115,6 +1115,7 @@ sub checkmakefile {
my $lineno = &linenumber($`) + 1;
&perror("FATAL: $file [$lineno]: option WITH(OUT)_$1 is used before ".
"including bsd.port.pre.mk.")
+ if (scalar(@oopt) && $lineno < $pre_mk_line);
}
foreach my $i (@oopt) {
if (!grep(/^$i$/, @mopt)) {