aboutsummaryrefslogtreecommitdiffstats
path: root/ports-mgmt/portlint
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2018-08-02 02:13:39 +0800
committeradamw <adamw@FreeBSD.org>2018-08-02 02:13:39 +0800
commit481392df6193a832ae475f81b543f8ef10fb07f0 (patch)
treefbb05d8e125851c9a1261ab55575bdf902ff4aa4 /ports-mgmt/portlint
parentc3e915899138a821ac09471227582783ef791535 (diff)
downloadfreebsd-ports-gnome-481392df6193a832ae475f81b543f8ef10fb07f0.tar.gz
freebsd-ports-gnome-481392df6193a832ae475f81b543f8ef10fb07f0.tar.zst
freebsd-ports-gnome-481392df6193a832ae475f81b543f8ef10fb07f0.zip
Reevert change accidentally included in r476184
Diffstat (limited to 'ports-mgmt/portlint')
-rw-r--r--ports-mgmt/portlint/src/portlint.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl
index deb10c950ca1..5415bfc8917c 100644
--- a/ports-mgmt/portlint/src/portlint.pl
+++ b/ports-mgmt/portlint/src/portlint.pl
@@ -1713,7 +1713,7 @@ sub checkmakefile {
# skip global options
next if ($i eq 'DOCS' or $i eq 'NLS' or $i eq 'EXAMPLES' or $i eq 'IPV6' or $i eq 'X11' or $i eq 'DEBUG');
if (!grep(/^$i$/, (@mopt, @popt))) {
- if ($whole !~ /\n${i}_($m)(_\w+)?(.)?=[^\n]+/ and $whole !~ /\n[-\w]+-${i}-(on|off):
+ if ($whole !~ /\n${i}_($m)(_\w+)?(.)?=[^\n]+/) {
+\n/) {
if (!$slaveport) {
&perror("WARN", $file, -1, "$i is listed in ".