From owner-svn-ports-head@FreeBSD.ORG Tue Dec 17 20:56:45 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 33A81654; Tue, 17 Dec 2013 20:56:45 +0000 (UTC) Received: from mailrelay011.isp.belgacom.be (mailrelay011.isp.belgacom.be [195.238.6.178]) by mx1.freebsd.org (Postfix) with ESMTP id 769011B22; Tue, 17 Dec 2013 20:56:44 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwGAPa5sFJR8mk//2dsb2JhbABZgwo4uUGBIBd0giUBAQEEOhwjEAsYCSUPKh4GLodtAcljF446WAeENgEDmBWBMZBkgyw7gSw Received: from 63.105-242-81.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([81.242.105.63]) by relay.skynet.be with ESMTP; 17 Dec 2013 21:55:34 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id rBHKtXK7021324; Tue, 17 Dec 2013 21:55:33 +0100 (CET) (envelope-from tijl@FreeBSD.org) Date: Tue, 17 Dec 2013 21:55:33 +0100 From: Tijl Coosemans To: Gerald Pfeifer Subject: Re: svn commit: r336343 - in head: . Mk/Uses Message-ID: <20131217215533.3c0d9fcb@kalimero.tijl.coosemans.org> In-Reply-To: References: <201312131322.rBDDMWZC038800@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: 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.17 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: Tue, 17 Dec 2013 20:56:45 -0000 On Mon, 16 Dec 2013 09:54:33 +0100 (CET) Gerald Pfeifer wrote: > On Fri, 13 Dec 2013, Tijl Coosemans wrote: >> Log: >> New USES=fortran to replace USE_FORTRAN. > > I was already surprised when Bapt introduced USES=compiler and later > made changes to the default version of GCC there without ever giving > me a heads up. Now USE_FORTRAN, which I maintain, is being replaced > without you reaching out to me. > > And there is an aweful lot of redundancy and even some inconsistency now. > > Not that I oppose in principle, or would have, but a little bit more > communications and collaboration would be nice. > > Gerald (sad) > > > PS: I'm starting vacation as we speak and will have limited connectivity > the coming weeks, and likely none from the 17th to the 27th. It was discussed on current@ (libc++ vs. libstdc++ usage in the ports tree) and I CCed you when I had analysed the problem but apparently not when I submitted a patch. Sorry about that. The reason I chose to create USES=fortran is because several other languages already use the USES framework and because the solution to the Octave problem was to separate the selection of the Fortran compiler from the selection of the C/C++ compiler. To address the redundancy I think there are a number of things we can do: - I expect converting Fortran ports will be relatively straightforward so the Fortran bits in bsd.gcc.mk can eventually be removed. - Maybe the C/C++ bits in bsd.gcc.mk can be moved to compiler.mk? I like the way compiler.mk is built around features instead of versions. - Use the bsd.default-versions.mk framework to set GCC_DEFAULT. This allows users to set their preferred version of GCC in make.conf and provides a central place where both fortran.mk and compiler.mk can pick up the default GCC version instead of each having it hardcoded.