Date: Fri, 16 Dec 2011 22:43:01 -0200 From: Jan Beich <jbeich@tormail.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/163371: [patch] graphics/ogre3d: unbreak plist on clang Message-ID: <1RbiPR-000LIJ-TA@internal.tormail.net> Resent-Message-ID: <201112170050.pBH0o53I069333@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 163371 >Category: ports >Synopsis: [patch] graphics/ogre3d: unbreak plist on clang >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 17 00:50:04 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: >Description: Pretend to be G++ in order to: - pass -fvisibilty* checks - pass -msse check - install plugins without "lib" prefix >How-To-Repeat: http://pointyhat-west.isc.freebsd.org/errorlogs/amd64-errorlogs/e.9-exp-clang.20111215000124.pointyhat-west/ogre3d-1.7.3_1.log >Fix: --- clang.diff begins here --- Index: graphics/ogre3d/Makefile =================================================================== RCS file: /a/.csup/ports/graphics/ogre3d/Makefile,v retrieving revision 1.55 diff -u -p -r1.55 Makefile --- graphics/ogre3d/Makefile 10 Dec 2011 23:01:13 -0000 1.55 +++ graphics/ogre3d/Makefile 17 Dec 2011 00:41:57 -0000 @@ -44,6 +44,10 @@ 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 defined(WITHOUT_BOOST) @${REINPLACE_CMD} -e 's|Boost|No_Boost|g' \ --- clang.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1RbiPR-000LIJ-TA>