Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Nov 2012 02:25:38 +0000 (UTC)
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307701 - head/graphics/vigra
Message-ID:  <201211240225.qAO2PdBV045963@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fluffy
Date: Sat Nov 24 02:25:38 2012
New Revision: 307701
URL: http://svnweb.freebsd.org/changeset/ports/307701

Log:
  - Force to use gcc46+ if CC is not Clang.
  
  Feature safe:	yes

Modified:
  head/graphics/vigra/Makefile

Modified: head/graphics/vigra/Makefile
==============================================================================
--- head/graphics/vigra/Makefile	Sat Nov 24 02:23:00 2012	(r307700)
+++ head/graphics/vigra/Makefile	Sat Nov 24 02:25:38 2012	(r307701)
@@ -56,6 +56,12 @@ PLIST_SUB+=	PYTHON="@comment "
 
 .include <bsd.port.pre.mk>
 
+# Check for clang, else use gcc46+
+CPP_check!=	${CPP} --version | tr -d '()'
+.if !${CPP_check:Mclang}
+USE_GCC=	4.6+
+.endif
+
 # Vigra's CMakeLists.txt does not support disabling those so we hook them
 # as dependencies here unconditionally (without OPTIONS=) even though if
 # they are not present then Vigra/CMake will do without them (they are not



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