[Bug 268681] ports-mgmt/portlint: Spurious warning

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 31 Dec 2022 17:20:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268681

            Bug ID: 268681
           Summary: ports-mgmt/portlint: Spurious warning
           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: jwb@freebsd.org
          Assignee: marcus@FreeBSD.org
             Flags: maintainer-feedback?(marcus@FreeBSD.org)

Maybe only issue this warning for DISTFILES=, not for DISTFILES+=?

This port gets a distfile from Github and adds another one from MASTER_SITES.

<<<ROOT@coral.acadix>>> /usr/ports/wip/bio-mocha 1083 # portlint -A
WARN: Makefile: use of DISTFILES with single file discouraged. distribution
filename should be set by DISTNAME and EXTRACT_SUFX.
WARN: Makefile: DISTFILES/DISTNAME affects WRKSRC. take caution when changing
them.
0 fatal errors and 2 warnings found.

<<<ROOT@coral.acadix>>> /usr/ports/wip/bio-mocha 1084 # grep DISTFILES Makefile 
DISTFILES+=     ${PORTNAME}_${DISTVERSION}-20221221.tar.gz

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