Avoid hardcoding of the version in lang/gcc in Uses/fortran.mk (PING)

Gerald Pfeifer gerald at pfeifer.com
Sat Apr 1 14:39:21 UTC 2017


[ 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


More information about the freebsd-fortran mailing list