svn commit: r381968 - head/lang/gcc5
Gerald Pfeifer
gerald at pfeifer.com
Mon Mar 23 19:45:10 UTC 2015
On Mon, 23 Mar 2015, Bryan Drewery wrote:
>> USE_LDCONFIG stores the directory name to
>> ${LOCALBASE}/libdata/ldconfig/${UNIQUENAME}.
>> Since lang/gcc* now share same PORTNAME (gcc), you need to
>> set UNIQUENAME manually.
> I just hit this. I've fixed it in r382022.
Thanks for fixing this, Bryan, but...
...doesn't this point to a design problem with the infrastructure?
Mk/bsd.ports.mk says:
# UNIQUENAME - A name for your port that is globally unique. By default,
# this is set to ${LATEST_LINK} when LATEST_LINK is set,
# and to ${PKGNAMEPREFIX}${PORTNAME} otherwise.
# PKGNAMESUFFIX - Suffix to specify compilation options or a version
# designator (in case there are different versions of
# one port as is the case for Tcl).
If PKGNAMESUFFIX is used as Mat suggested (to carry a version number),
shouldn't it become part of UNIQUENAME? Can this be improved?
If not, I guess I should just revert PORTNAME to gcc47, gcc48, and
so forth. Using PKGNAMESUFFIX is not providing the expected benefit.
And things just are becoming more complex. :-(
Gerald
More information about the svn-ports-head
mailing list