Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 2017 05:58:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 218672] ports-mgmt/portlint: false positive "possible direct use of command "python" found" for OPTION_USES statements
Message-ID:  <bug-218672-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218672

            Bug ID: 218672
           Summary: ports-mgmt/portlint: false positive "possible direct
                    use of command "python" found" for OPTION_USES
                    statements
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus@FreeBSD.org
          Reporter: gerald@FreeBSD.org
             Flags: maintainer-feedback?(marcus@FreeBSD.org)
          Assignee: marcus@FreeBSD.org

After recent changes to lang/gcc6 and other ports by miwi (which fixed
an actually problem) I am now seeing

~/ports/lang/gcc6> portlint
WARN: Makefile: [48]: possible direct use of command "python" found.
use ${PYTHON_CMD} instead.

This complains about=20
  JAVA_USES=3D              python shebangfix
where JAVA is one of the OPTIONS of this port and USES=3Dpython is one
of the common uses of USES=3D and in general the OPTION_USES helper.

To fix this, probably best ignore "[[:letter:]]_USES=3D.*python" for this
warning?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218672-13>