Change the USE_GCC construct so that if an acceptable version of gcc is not already installed on a machine when beginning the build of a port that requires one, then the new port build will favor the default version of gcc used by USE_FORTRAN=yes over the minimum acceptable version of gcc specified in the port's USE_GCC variable. This will save a lot of time in tinderboxes, and will mean that more default packages are compiled with a newer and better version of gcc, and that users of default packages will have to download and install multiple versions of gcc less often than they do now. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->gerald bsd.gcc.mk is gerald territory (via the GNATS Auto Assign Tool)
gerald 2011-10-30 01:34:39 UTC FreeBSD ports repository Modified files: Mk bsd.gcc.mk Log: When USE_GCC=X.Y+ has been specified, prefer the default version of GCC (the one which also USE_FORTRAN=yes chooses) in case we do have to install GCC in any case. Only if an acceptable version of GCC is already present use that one. This will ease the load on tinderboxes, further the use of current versions of GCC, and minimize the need to download/carry several versions of GCC for users of pre-built packages. PR: 160507 Submitted by: bf Revision Changes Path 1.59 +10 -5 ports/Mk/bsd.gcc.mk _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed (A variation) of the patch has been committed yesterday. Thanks for that and the good discussions around improving things!