From 0c926073ff9ccf507fb7969e19f3b28b833eab44 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Wed, 1 Aug 2018 16:33:11 +0000 Subject: Fix a common grammar error: "can not" means the opposite of "cannot." "Can not" means "it is possible not to," and "cannot" means "it is impossible to." --- ports-mgmt/portlint/src/portlint.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ports-mgmt/portlint/src') diff --git a/ports-mgmt/portlint/src/portlint.pl b/ports-mgmt/portlint/src/portlint.pl index f466fe68c48f..deb10c950ca1 100644 --- a/ports-mgmt/portlint/src/portlint.pl +++ b/ports-mgmt/portlint/src/portlint.pl @@ -1713,7 +1713,8 @@ 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]+/) { + if ($whole !~ /\n${i}_($m)(_\w+)?(.)?=[^\n]+/ and $whole !~ /\n[-\w]+-${i}-(on|off): + +\n/) { if (!$slaveport) { &perror("WARN", $file, -1, "$i is listed in ". "OPTIONS_DEFINE, but no PORT_OPTIONS:M$i appears."); -- cgit v1.2.3