From owner-svn-ports-all@FreeBSD.ORG Sat Nov 24 02:25:39 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 46FA9854; Sat, 24 Nov 2012 02:25:39 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 284548FC0C; Sat, 24 Nov 2012 02:25:39 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qAO2Pdhh045964; Sat, 24 Nov 2012 02:25:39 GMT (envelope-from fluffy@svn.freebsd.org) Received: (from fluffy@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qAO2PdBV045963; Sat, 24 Nov 2012 02:25:39 GMT (envelope-from fluffy@svn.freebsd.org) Message-Id: <201211240225.qAO2PdBV045963@svn.freebsd.org> From: Dima Panov Date: Sat, 24 Nov 2012 02:25:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307701 - head/graphics/vigra X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Nov 2012 02:25:39 -0000 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 +# 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