aboutsummaryrefslogtreecommitdiff
path: root/graphics/ogre3d/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ogre3d/Makefile')
-rw-r--r--graphics/ogre3d/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/ogre3d/Makefile b/graphics/ogre3d/Makefile
index 3bfecb0bee0a..14a33598e989 100644
--- a/graphics/ogre3d/Makefile
+++ b/graphics/ogre3d/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ogre3d
DISTVERSIONPREFIX= v
-DISTVERSION= 14.3.4
+DISTVERSION= 14.4.0
CATEGORIES= graphics devel
MAINTAINER= fluffy@FreeBSD.org
@@ -79,10 +79,17 @@ PYTHON_USES= python
CXXFLAGS+= -DNDEBUG -I${LOCALBASE}/include -I${LOCALBASE}/include/Imath
PLIST_SUB+= LIBVERSION=${PORTVERSION:R}
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e '\
s,defined(__x86_64__),& || defined(__amd64__),' \
${WRKSRC}/OgreMain/include/OgrePlatform.h
+.if ${ARCH:Naarch64:Namd64}
+ @${REINPLACE_CMD} -e '\
+ /check_cxx_compiler_flag(-msse OGRE_GCC_HAS_SSE)/d' \
+ ${WRKSRC}/CMakeLists.txt
+.endif
post-patch-PYTHON-on:
@${REINPLACE_CMD} -e 's/\(Python_ADDITIONAL_VERSIONS\) [0-9\.]*/\$1 ${PYTHON_VER}/' \