1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Update to 2.9.9.

Check for misuse of the %%XXXDIR%% constructs in order to help with the QA
Tinderbox build reports.

PR:		125037
Submitted by:	leeym
This commit is contained in:
Joe Marcus Clarke 2008-07-05 06:02:28 +00:00
parent 6b73686ec3
commit e965ccfa52
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216360
2 changed files with 9 additions and 3 deletions

View File

@ -8,7 +8,7 @@
#
PORTNAME= portlint
PORTVERSION= 2.9.8
PORTVERSION= 2.9.9
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none

View File

@ -17,7 +17,7 @@
# OpenBSD and NetBSD will be accepted.
#
# $FreeBSD$
# $MCom: portlint/portlint.pl,v 1.154 2008/03/23 00:24:48 marcus Exp $
# $MCom: portlint/portlint.pl,v 1.155 2008/07/05 06:01:38 marcus Exp $
#
use vars qw/ $opt_a $opt_A $opt_b $opt_C $opt_c $opt_g $opt_h $opt_t $opt_v $opt_M $opt_N $opt_B $opt_V /;
@ -46,7 +46,7 @@ $portdir = '.';
# version variables
my $major = 2;
my $minor = 9;
my $micro = 8;
my $micro = 9;
sub l { '[{(]'; }
sub r { '[)}]'; }
@ -858,6 +858,12 @@ sub checkplist {
}
}
if ($_ =~ m{^%%PORT(\w+)%%(.*?)%%(\w+)DIR%%(.*)$} and $1 ne $3) {
&perror("WARN", $file, $., "Do not mix %%PORT$1%% with %%$3DIR%%. ".
"Use '%%PORT$3%%$2%%$3DIR%%$4' instead and update Makefile ".
"accordingly.");
}
if ($_ =~ m#man/([^/]+/)?man([$manchapters])/([^\.]+\.[$manchapters])(\.gz)?$#) {
if ($4 eq '') {
$plistman{$2} .= ' ' . $3;