ports/154320: portlint: check for redundant DISTNAME is incomplete
Gerald Pfeifer
gerald at pfeifer.com
Thu Jan 27 00:00:19 UTC 2011
>Number: 154320
>Category: ports
>Synopsis: portlint: check for redundant DISTNAME is incomplete
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Jan 27 00:00:18 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Gerald Pfeifer
>Release:
>Organization:
>Environment:
>Description:
portlint currently checks for a redundant defintion of
DISTNAME via
$distname eq "$portname-$portversion"
Looking at Mk/bsd.port.mk, DISTNAME is however set as follows:
${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUF
FIX}
and in the actual implementation it reads
${PORTNAME}-${DISTVERSIONPREFIX}${DISTVERSION:C/:(.)/\1/g}${DISTVERS
IONSUFFIX}
that is, it also considers a prefix and a suffix.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list