From owner-svn-ports-head@FreeBSD.ORG Fri Jun 28 13:10:30 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 036B4E27; Fri, 28 Jun 2013 13:10:30 +0000 (UTC) (envelope-from ehaupt@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 E959918E6; Fri, 28 Jun 2013 13:10:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r5SDATOs060905; Fri, 28 Jun 2013 13:10:29 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r5SDATgW060904; Fri, 28 Jun 2013 13:10:29 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201306281310.r5SDATgW060904@svn.freebsd.org> From: Emanuel Haupt Date: Fri, 28 Jun 2013 13:10:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r321961 - head/audio/xmms-sapplug X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Jun 2013 13:10:30 -0000 Author: ehaupt Date: Fri Jun 28 13:10:29 2013 New Revision: 321961 URL: http://svnweb.freebsd.org/changeset/ports/321961 Log: Use ${CC} instead of 'clang' to detect whether /usr/bin/cc is gcc or clang. Modified: head/audio/xmms-sapplug/Makefile Modified: head/audio/xmms-sapplug/Makefile ============================================================================== --- head/audio/xmms-sapplug/Makefile Fri Jun 28 13:06:36 2013 (r321960) +++ head/audio/xmms-sapplug/Makefile Fri Jun 28 13:10:29 2013 (r321961) @@ -29,7 +29,7 @@ OPTIONS_DEFINE= OPTIMIZED_CFLAGS .include -_CLANG!= clang --version | ${HEAD} -1 | ${SED} -e 's/.*clang version \([0-9]\)\.\([0-9]\).*/\1\2/' +_CLANG!= ${CC} --version | ${HEAD} -1 | ${SED} -e 's/.*clang version \([0-9]\)\.\([0-9]\).*/\1\2/' .if ${CXX:T} != "clang++" && !defined(_CLANG) CXXFLAGS+= --no-exceptions