ports/179418: ports-mgmt/portlint: Portlint XXXDIR check

Michael Gmelin freebsd at grem.de
Fri Jun 7 20:40:01 UTC 2013


>Number:         179418
>Category:       ports
>Synopsis:       ports-mgmt/portlint: Portlint XXXDIR check
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 07 20:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Michael Gmelin
>Release:        FreeBSD 9.1-RELEASE-p2 amd64
>Organization:
Grem Equity GmbH
>Environment:
System: FreeBSD srv 9.1-RELEASE-p2 FreeBSD 9.1-RELEASE-p2 #5 r249052M: Fri May 31 17:50:16 UTC
>Description:
portlint complains about combinations of PORTXXX and XXXDIR, I don't think
this is correct in this case e.g.

WARN: /usr/ports/editors/leo/pkg-plist: [779]: Do not mix %%PORTDOCS%% with %%PYTHON_SITELIBDIR%%/leo/doc/html' instead and update Makefile accordingly.

>How-To-Repeat:
portlint -abt /usr/ports/editors/leo
...
WARN: /usr/ports/editors/leo/pkg-plist: [778]: Do not mix %%PORTDOCS%% with %%PYTHON_SITELIBDIR%%. Use '%%PORT%%@dirrm %%PYTHON_SITELIBDIR%%/leo/doc/html/screen-shots' instead and update Makefile accordingly.
Use of uninitialized value within %check_xxxdir_ok in concatenation (.) or string at /usr/local/bin/portlint line 838, <IN> line 779.
WARN: /usr/ports/editors/leo/pkg-plist: [779]: Do not mix %%PORTDOCS%% with %%PYTHON_SITELIBDIR%%. Use '%%PORT%%@dirrm %%PYTHON_SITELIBDIR%%/leo/doc/html' instead and update Makefile accordingly.
Use of uninitialized value within %check_xxxdir_ok in concatenation (.) or string at /usr/local/bin/portlint line 838, <IN> line 780.
WARN: /usr/ports/editors/leo/pkg-plist: [780]: Do not mix %%PORTDOCS%% with %%PYTHON_SITELIBDIR%%. Use '%%PORT%%@dirrm %%PYTHON_SITELIBDIR%%/leo/doc' instead and update Makefile accordingly.
0 fatal errors and 80 warnings found.

>Fix:
Assuming this is invalid behavior, add DOCS and PYTHONSITELIBDIR to
%check_xxxdir_ok (portlint about line 600).
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list