From owner-svn-ports-head@FreeBSD.ORG Mon Mar 23 19:52:47 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 11969CD8 for ; Mon, 23 Mar 2015 19:52:47 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E0672346 for ; Mon, 23 Mar 2015 19:52:46 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id t2NJqkfr050798 for ; Mon, 23 Mar 2015 19:52:46 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id t2NJqkvc050796 for svn-ports-head@freebsd.org; Mon, 23 Mar 2015 19:52:46 GMT (envelope-from bdrewery) Received: (qmail 40321 invoked from network); 23 Mar 2015 14:52:44 -0500 Received: from unknown (HELO ?10.10.1.139?) (freebsd@shatow.net@10.10.1.139) by sweb.xzibition.com with ESMTPA; 23 Mar 2015 14:52:44 -0500 Message-ID: <55106F0E.9090700@FreeBSD.org> Date: Mon, 23 Mar 2015 14:52:46 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Gerald Pfeifer , Mathieu Arnold Subject: Re: svn commit: r381968 - head/lang/gcc5 References: <201503222311.t2MNBE8d075929@svn.freebsd.org> <551061EC.5090702@FreeBSD.org> In-Reply-To: OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="614lJWbNktcOgeQAs58ODClOwxo6hFNks" Cc: Sunpoet Po-Chuan Hsieh , svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 19:52:47 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --614lJWbNktcOgeQAs58ODClOwxo6hFNks Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 3/23/2015 2:44 PM, Gerald Pfeifer wrote: > 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. >=20 > Thanks for fixing this, Bryan, but... >=20 > ...doesn't this point to a design problem with the infrastructure? Definitely. I think UNIQUENAME is now really only used for USE_LDCONFIG. It may make sense to default it to the values I put into the gcc ports. >=20 > Mk/bsd.ports.mk says: >=20 > # UNIQUENAME - A name for your port that is globally unique. By defa= ult, > # this is set to ${LATEST_LINK} when LATEST_LINK is set,= > # and to ${PKGNAMEPREFIX}${PORTNAME} otherwise. >=20 > # 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). >=20 > If PKGNAMESUFFIX is used as Mat suggested (to carry a version number), = > shouldn't it become part of UNIQUENAME? Can this be improved? >=20 > If not, I guess I should just revert PORTNAME to gcc47, gcc48, and=20 > so forth. Using PKGNAMESUFFIX is not providing the expected benefit. = > And things just are becoming more complex. :-( >=20 > Gerald >=20 --=20 Regards, Bryan Drewery --614lJWbNktcOgeQAs58ODClOwxo6hFNks Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJVEG8OAAoJEDXXcbtuRpfP4HYH/jvJWElNm4S8u6aa8sS+qaKC lb3V5PWzGPT+PjzXEqkY81PQ3fKIAqyqeIk62n64y/3Iuoeghg+en/K1TMgmAjFI 2/10+EDYqlumQaOimQV3BCZuqi/oDHHZid0CqoVRYuTcMj+OFf9jyqOsMAbpu8GE OslDflDzBlLg3ROqRBdabZxiLp0AgbhfTRBtM8/XipQ0TstmIy+ZMDwlF9eXhzjG B0AgmwkJ58d8kbqe1z/pcfwqSCZt3XUsnaADeDGFm+rVCeic4olILSQ05PTNf7tB H3zHwOQ/lZ2rpntHE84eyhtC4VEqZZGCltOGStrvR6rUNgSxREL5OLh2R+EBWxM= =Uf1B -----END PGP SIGNATURE----- --614lJWbNktcOgeQAs58ODClOwxo6hFNks--