Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Nov 2021 23:45:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 259957] ports-mgmt/portlint: Don't warn about "possible direct use of command" in PORTNAME
Message-ID:  <bug-259957-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 259957
           Summary: ports-mgmt/portlint: Don't warn about "possible direct
                    use of command" in PORTNAME
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: marcus@FreeBSD.org
          Reporter: gerald@FreeBSD.org
          Assignee: marcus@FreeBSD.org
             Flags: maintainer-feedback?(marcus@FreeBSD.org)

Created attachment 229627
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D229627&action=
=3Dedit
Proposed patch

Running portlint in devel/patch issues a false positive:

  % cd $PORTSDIR/devel/patch
  % portlint -C
  WARN: Makefile: [1]: possible direct use of command "patch" found. use
${PATCH} instead.
  make: Unknown modifier 'd'

Apart from the line number being off (this is not about the first line)
this warns about=20

  PORTNAME=3D  patch

that is, the name of the port - which clearly is not a use of the command
patch as such.

The proposed patch addresses it.=20

(Any ideas on the wrong line number and the "make: Unknown modifier 'd'"
note?)

--=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-259957-7788>