diff options
author | Dima Panov <fluffy@FreeBSD.org> | 2025-06-30 17:00:03 +0000 |
---|---|---|
committer | Dima Panov <fluffy@FreeBSD.org> | 2025-06-30 17:00:03 +0000 |
commit | 9479e6e3649153d4d96715318d815b6259705fb5 (patch) | |
tree | bdb66da590d97dac6a7c978240e64f9b5bc4eafb /graphics/ogre3d | |
parent | 27a9f282940b43820ba2f4d92e7e96615d814bda (diff) |
Diffstat (limited to 'graphics/ogre3d')
-rw-r--r-- | graphics/ogre3d/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/graphics/ogre3d/Makefile b/graphics/ogre3d/Makefile index 3bfecb0bee0a..1a1b807c6a5e 100644 --- a/graphics/ogre3d/Makefile +++ b/graphics/ogre3d/Makefile @@ -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}/' \ |