From owner-svn-ports-all@FreeBSD.ORG Mon Mar 23 19:45:10 2015 Return-Path: Delivered-To: svn-ports-all@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 6664C7FC; Mon, 23 Mar 2015 19:45:10 +0000 (UTC) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) (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 3F01C210; Mon, 23 Mar 2015 19:45:09 +0000 (UTC) Received: from [192.168.0.133] (vie-188-118-248-211.dsl.sil.at [188.118.248.211]) by ainaz.pair.com (Postfix) with ESMTPSA id A53EC3F48A; Mon, 23 Mar 2015 15:45:00 -0400 (EDT) Date: Mon, 23 Mar 2015 20:44:58 +0100 (CET) From: Gerald Pfeifer To: Bryan Drewery , Mathieu Arnold Subject: Re: svn commit: r381968 - head/lang/gcc5 In-Reply-To: <551061EC.5090702@FreeBSD.org> Message-ID: References: <201503222311.t2MNBE8d075929@svn.freebsd.org> <551061EC.5090702@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: Sunpoet Po-Chuan Hsieh , svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2015 19:45:10 -0000 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