Bug 183372 - [bsd.ports.mk] depreciation of LATEST_LINK conflicts with USE_LDCONFIG
Summary: [bsd.ports.mk] depreciation of LATEST_LINK conflicts with USE_LDCONFIG
Status: Closed DUPLICATE of bug 199406
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-27 20:30 UTC by David Naylor
Modified: 2015-04-19 13:27 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Naylor freebsd_committer freebsd_triage 2013-10-27 20:30:01 UTC
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.

Fix: 

Change UNIQUENAME=${PKGNAMEPREFIX}${PORTNAME}${PKGNAMESUFFIX}
Comment 1 David Naylor freebsd_committer freebsd_triage 2013-10-27 20:37:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

Over to portmgr
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2014-06-02 01:59:14 UTC
Infrastructure PR.
Comment 3 David Naylor freebsd_committer freebsd_triage 2015-04-19 13:27:16 UTC
Marking this bug as a duplicate of 199406 as 199406 has an actual patch and the attention of portmgr.

*** This bug has been marked as a duplicate of bug 199406 ***