ports/183372: [bsd.ports.mk] depreciation of LATEST_LINK conflicts with USE_LDCONFIG

David Naylor dbn at FreeBSD.org
Sun Oct 27 20:30:02 UTC 2013


>Number:         183372
>Category:       ports
>Synopsis:       [bsd.ports.mk] depreciation of LATEST_LINK conflicts with USE_LDCONFIG
>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:   Sun Oct 27 20:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     David Naylor
>Release:        
>Organization:
>Environment:
>Description:
With the depreciation of LATEST_LINKS in favour of unique package names, this results in two different ports (such as wine and wine-devel) sharing the same UNIQUENAME (since UNIQUENAME does not take into account PKGNAMESUFFIX).  

This results in an issue when both ports use USE_LDCONFIG as that creates a file based on the UNIQUENAME and the ports will unexpectedly confict on installing files into the same location.  

This is one location where the use of UNIQUENAME as defined causes troubles, there may be more.  Also in this case the ports used as an example conflict so no issue however this may not be the case across the Ports Collection.  
>How-To-Repeat:

>Fix:
Change UNIQUENAME=${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list