Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2011 23:52:29 GMT
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/154320: portlint: check for redundant DISTNAME is incomplete
Message-ID:  <201101262352.p0QNqTiE000901@ref8-amd64.freebsd.org>
Resent-Message-ID: <201101270000.p0R00JO3055326@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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