Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2012 23:25:02 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309408 - head/Mk
Message-ID:  <201212222325.qBMNP2dJ076096@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212222325.qBMNP2dJ076096>