[Bug 275075] port-tools/portlint: Spurious warnings

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Nov 2023 12:34:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275075

            Bug ID: 275075
           Summary: port-tools/portlint: Spurious warnings
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: jwb@freebsd.org

The following spurious warnings are generated for cad/freecad:

1) WARN: Makefile: [39]: possible direct use of command "python" found. use
${PYTHON_CMD} instead.

USES=           dos2unix compiler:c++17-lang cmake cpe gl eigen:3 fortran jpeg
\
                localbase:ldflags mpi:openmpi pkgconfig python localbase qt:5
xo

Probably a failure to handle the line continuation.  You might just run the
Makefile through a filter to join all continued lines before processing?

2) WARN: Makefile: no port directory /usr/ports/math/vtk found, even though it
is listed in LIB_DEPENDS.

libvtksys-${VTK_VER}.so:math/vtk${VTK_VER:R}

Doesn't seem to be expanding ${VTK_VER:R}.

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