From owner-svn-ports-head@FreeBSD.ORG Wed Aug 7 10:38:17 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CDE50F77; Wed, 7 Aug 2013 10:38:17 +0000 (UTC) (envelope-from oliver@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9FBD22F52; Wed, 7 Aug 2013 10:38:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r77AcHDB054772; Wed, 7 Aug 2013 10:38:17 GMT (envelope-from oliver@svn.freebsd.org) Received: (from oliver@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r77AcHbN054770; Wed, 7 Aug 2013 10:38:17 GMT (envelope-from oliver@svn.freebsd.org) Message-Id: <201308071038.r77AcHbN054770@svn.freebsd.org> From: Oliver Lehmann Date: Wed, 7 Aug 2013 10:38:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324342 - in head/graphics/ogre3d: . files 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: Wed, 07 Aug 2013 10:38:17 -0000 Author: oliver Date: Wed Aug 7 10:38:16 2013 New Revision: 324342 URL: http://svnweb.freebsd.org/changeset/ports/324342 Log: fix clang detection PR: ports/180092 Submitted by: tijl Modified: head/graphics/ogre3d/Makefile head/graphics/ogre3d/files/patch-CMake_ConfigureBuild.cmake (contents, props changed) Modified: head/graphics/ogre3d/Makefile ============================================================================== --- head/graphics/ogre3d/Makefile Wed Aug 7 10:28:44 2013 (r324341) +++ head/graphics/ogre3d/Makefile Wed Aug 7 10:38:16 2013 (r324342) @@ -39,10 +39,6 @@ PLIST_SUB+= BOOSTFALSE="" BROKEN= Does not install on powerpc .endif -.if ${CXX:M*clang*} -CMAKE_ARGS+= -DCMAKE_COMPILER_IS_GNUCXX:BOOL=YES -.endif - post-patch: .if ! ${PORT_OPTIONS:MBOOST} @${REINPLACE_CMD} -e 's|Boost|No_Boost|g' \ Modified: head/graphics/ogre3d/files/patch-CMake_ConfigureBuild.cmake ============================================================================== --- head/graphics/ogre3d/files/patch-CMake_ConfigureBuild.cmake Wed Aug 7 10:28:44 2013 (r324341) +++ head/graphics/ogre3d/files/patch-CMake_ConfigureBuild.cmake Wed Aug 7 10:38:16 2013 (r324342) @@ -1,6 +1,6 @@ ---- CMake/ConfigureBuild.cmake.orig 2011-08-21 00:23:58.000000000 +0200 -+++ CMake/ConfigureBuild.cmake 2011-08-21 00:25:02.000000000 +0200 -@@ -180,18 +180,18 @@ if (UNIX) +--- CMake/ConfigureBuild.cmake.orig 2012-09-02 07:27:14.000000000 +0200 ++++ CMake/ConfigureBuild.cmake 2013-06-15 16:28:56.000000000 +0200 +@@ -189,18 +189,18 @@ if (UNIX) else () configure_file(${OGRE_TEMPLATES_DIR}/OGRE.pc.in ${OGRE_BINARY_DIR}/pkgconfig/OGRE.pc @ONLY) endif () @@ -22,7 +22,7 @@ endif () if (OGRE_BUILD_COMPONENT_TERRAIN) -@@ -199,17 +199,17 @@ if (UNIX) +@@ -208,20 +208,20 @@ if (UNIX) set(OGRE_PAGING_ADDITIONAL_PACKAGES ", OGRE-Paging = ${OGRE_VERSION}") endif () configure_file(${OGRE_TEMPLATES_DIR}/OGRE-Terrain.pc.in ${OGRE_BINARY_DIR}/pkgconfig/OGRE-Terrain.pc @ONLY) @@ -42,4 +42,8 @@ + install(FILES ${OGRE_BINARY_DIR}/pkgconfig/OGRE-Property.pc DESTINATION ${OGRE_LIBDATA_DIRECTORY}/pkgconfig) endif () - endif () +- if (CMAKE_CXX_COMPILER MATCHES ".*clang") ++ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang") + set(CMAKE_COMPILER_IS_CLANGXX 1) + endif () +