From owner-freebsd-fortran@freebsd.org Sat Apr 1 14:39:21 2017 Return-Path: Delivered-To: freebsd-fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B638D28736 for ; Sat, 1 Apr 2017 14:39:21 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 38265267 for ; Sat, 1 Apr 2017 14:39:21 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: by mailman.ysv.freebsd.org (Postfix) id 34A32D28735; Sat, 1 Apr 2017 14:39:21 +0000 (UTC) Delivered-To: fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32902D28733 for ; Sat, 1 Apr 2017 14:39:21 +0000 (UTC) (envelope-from gerald@pfeifer.com) 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 13A77264; Sat, 1 Apr 2017 14:39:20 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from [192.168.0.3] (vie-188-118-245-044.dsl.sil.at [188.118.245.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ainaz.pair.com (Postfix) with ESMTPSA id 1D81B3F530; Sat, 1 Apr 2017 10:39:17 -0400 (EDT) Date: Sat, 1 Apr 2017 16:39:15 +0200 (CEST) From: Gerald Pfeifer To: Tijl Coosemans cc: Antoine Brodin , fortran@freebsd.org Subject: Re: Avoid hardcoding of the version in lang/gcc in Uses/fortran.mk (PING) In-Reply-To: <20150126111810.0b4befa8@kalimero.tijl.coosemans.org> Message-ID: References: <20150126111810.0b4befa8@kalimero.tijl.coosemans.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Apr 2017 14:39:21 -0000 [ Old e-mail alert ] On Mon, 26 Jan 2015, Tijl Coosemans wrote: > In my opinion one of the lang/gccXY ports has to become the default > instead of lang/gcc. That's how default-versions works. lang/gcc can > stay as a meta-port with a RUN_DEPENDS on the default lang/gccXY, > similar to lang/python. This way "pkg add gcc" still works. And just > like lang/python, lang/gcc could install symlinks like gcc -> gccXY, > g++ -> g++XY,... which would be really convenient now that /usr/bin/gcc > is gone. I have put such symlinks for gcc, g++ and gfortran in place with the lang/gcc port later in 2015. And now that we have gcc5 / gcc5-devel, gcc6 / gcc6-devel, and soon gcc7 / gcc7-devel making the respective non-devel port the default used by USE_GCC is becoming a feasible option (where before we had lang/gcc track releases and lang/gcc46, say, track snapshots). I am currently in the process of finalizing an update of lang/gcc to GCC 5 and after a brief cooling period and some minor tweaks plan on implementing something in that direction. Gerald