1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Update to 2.14.7.

* Fix a typo resulting in an undefined function [1]
* Add X11 to the list of common OPTIONS [2]
* Remove an errant space [2]
* Do not warn on empty .svn directories. [2]

PR:		183330 [1]
Submitted by:	Kubilay Kocak <koobs.freebsd@gmail.com> [1]
Reported by:	eadler [2]
This commit is contained in:
Joe Marcus Clarke 2013-10-26 14:48:59 +00:00
parent fbb171b1fc
commit 1bcc14043b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331698
2 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= portlint
PORTVERSION= 2.14.6
PORTVERSION= 2.14.7
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.293 2013/10/20 00:49:57 marcus Exp $
# $MCom: portlint/portlint.pl,v 1.297 2013/10/26 14:41:47 marcus Exp $
#
use strict;
@ -52,7 +52,7 @@ $portdir = '.';
# version variables
my $major = 2;
my $minor = 14;
my $micro = 6;
my $micro = 7;
sub l { '[{(]'; }
sub r { '[)}]'; }
@ -351,7 +351,7 @@ if ($committer) {
"If it still needs to be there, put a dummy comment ".
"to state that the file is intentionally left empty.");
} elsif (-d && scalar(my @x = <$_/{*,.?*}>) <= 1) {
&perror("FATAL", $fullname, -1, "empty directory should be removed.");
&perror("FATAL", $fullname, -1, "empty directory should be removed.") unless ($fullname =~ /^\.svn/);
} elsif (/^\./) {
&perror("WARN", $fullname, -1, "dotfiles are not preferred. ".
"If this file is a dotfile to be installed as an example, ".
@ -777,7 +777,7 @@ sub checkplist {
if ($_ =~ m|\.mo$| && $makevar{USES} !~ /\bgettext\b/) {
&perror("WARN", $file, $., "installing gettext translation files, ".
"please define USES[+]=gettext as appropriate");
"please define USES[+]=gettext as appropriate");
}
if ($_ =~ m|\.core$| && $_ !~ /^\@/) {
@ -1115,7 +1115,7 @@ sub check_depends_syntax {
last;
}
if ($k =~ /^\$\{(\w+)\}$/) {
$k = get_makvar($1);
$k = get_makevar($1);
}
my @l = split(':', $k);
@ -1619,7 +1619,7 @@ sub checkmakefile {
foreach my $i (@mopt) {
if (!grep(/^$i$/, @opt, @aopt)) {
# skip global options
next if ($i eq 'DOCS' or $i eq 'NLS' or $i eq 'EXAMPLES' or $i eq 'IPV6');
next if ($i eq 'DOCS' or $i eq 'NLS' or $i eq 'EXAMPLES' or $i eq 'IPV6' or $i eq 'X11');
&perror("WARN", $file, -1, "$i is appears in PORT_OPTIONS:M, ".
"but not listed in OPTIONS_DEFINE.");
}