svn commit: r309408 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Sat Dec 22 23:25:03 UTC 2012


Author: bapt
Date: Sat Dec 22 23:25:02 2012
New Revision: 309408
URL: http://svnweb.freebsd.org/changeset/ports/309408

Log:
  Fix when bsd.gcc.mk is included and USE_GCC is undefined for example in case a
  port use USE_FORTRAN

Modified:
  head/Mk/bsd.gcc.mk

Modified: head/Mk/bsd.gcc.mk
==============================================================================
--- head/Mk/bsd.gcc.mk	Sat Dec 22 21:39:35 2012	(r309407)
+++ head/Mk/bsd.gcc.mk	Sat Dec 22 23:25:02 2012	(r309408)
@@ -60,7 +60,7 @@ GCC_DEFAULT_V=	${GCC_DEFAULT_VERSION:S/.
 # No configurable parts below this. ####################################
 #
 
-.if ${USE_GCC} == yes
+.if defined(USE_GCC) && ${USE_GCC} == yes
 USE_GCC=	${GCC_DEFAULT_VERSION}+
 .endif
 


More information about the svn-ports-all mailing list