FreeBSD Bugzilla – Attachment 128766 Details for
Bug 172621
Extend ports-mgmt/portlint with additional tests
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
portlint.diff
portlint.diff (text/plain), 980 bytes, created by
Alan Hicks
on 2012-10-12 01:54:28 UTC
(
hide
)
Description:
portlint.diff
Filename:
MIME Type:
Creator:
Alan Hicks
Created:
2012-10-12 01:54:28 UTC
Size:
980 bytes
patch
obsolete
>--- /usr/local/bin/portlint 2012-08-06 11:20:07.000000000 +0100 >+++ /home/alan/bin/portlint 2012-10-11 17:41:24.000000000 +0100 >@@ -1470,6 +1472,18 @@ > } > > # >+ # whole file: empty(${VARIABLE}) >+ # >+ if ($parenwarn) { >+ print "OK: checking for empty(\${VARIABLE}).\n" if ($verbose); >+ if ($whole =~ /empty\(\${[\w\d]+/) { >+ my $lineno = &linenumber($`); >+ &perror("WARN", $file, $lineno, "use empty(VARIABLE), instead of ". >+ "empty(\${VARIABLE})."); >+ } >+ } >+ >+ # > # whole file: use of != > # > print "OK: checking for use of !=.\n" if ($verbose); >@@ -1775,6 +1789,12 @@ > &perror("FATAL", $file, -1, "Both NOPORTDOCS and PORT_OPTIONS:MDOCS are found ". > "Remove one or another."); > } >+ print "OK: checking for use of NOPORTDOCS.\n" if ($verbose); >+ if ($whole =~ /NOPORTDOCS/) { >+ my $lineno = &linenumber($`); >+ &perror("WARN", $file, $lineno, "NOPORTDOCS found. Consider ". >+ "using PORT_OPTIONS:MDOCS"); >+ } > > # > # whole file: check for USE_GETTEXT
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 172621
: 128766