aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2011-12-17 22:50:13 +0800
committeroliver <oliver@FreeBSD.org>2011-12-17 22:50:13 +0800
commit61c6bde1229152d28ffbdf042ff6899c74c1312f (patch)
tree2bc7667fb5887ae2b67da15e07fce2f9bd9629be
parentc237b54a26215b2fd9b32947cda99f95edb46311 (diff)
downloadfreebsd-ports-gnome-61c6bde1229152d28ffbdf042ff6899c74c1312f.tar.gz
freebsd-ports-gnome-61c6bde1229152d28ffbdf042ff6899c74c1312f.tar.zst
freebsd-ports-gnome-61c6bde1229152d28ffbdf042ff6899c74c1312f.zip
unbreak plist on clang
Submitted by: Jan Beich <jbeich@tormail.net> PR: ports/163371
-rw-r--r--graphics/ogre3d/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/ogre3d/Makefile b/graphics/ogre3d/Makefile
index 948ba381e1c9..7a78f5e8b92e 100644
--- a/graphics/ogre3d/Makefile
+++ b/graphics/ogre3d/Makefile
@@ -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' \