diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-11-27 18:01:36 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2014-11-27 18:01:36 +0000 |
commit | f9c97672ae3b9cfc2065e9c810ca5c43b303d771 (patch) | |
tree | 8b4722bdf60824804989e248e53f836ebade8116 /games/openclonk/Makefile | |
parent | c4405cef734d43de54d1c7e76c293edaf5f15493 (diff) | |
download | ports-f9c97672ae3b9cfc2065e9c810ca5c43b303d771.tar.gz ports-f9c97672ae3b9cfc2065e9c810ca5c43b303d771.zip |
Notes
Diffstat (limited to 'games/openclonk/Makefile')
-rw-r--r-- | games/openclonk/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/games/openclonk/Makefile b/games/openclonk/Makefile index caeaa36af322..472a93dbe398 100644 --- a/games/openclonk/Makefile +++ b/games/openclonk/Makefile @@ -21,7 +21,7 @@ LIB_DEPENDS= libboost_thread.so:${PORTSDIR}/devel/boost-libs \ libpng.so:${PORTSDIR}/graphics/png \ libvorbis.so:${PORTSDIR}/audio/libvorbis -USES= cmake iconv pkgconfig tar:bzip2 +USES= compiler:c++11-lib cmake iconv pkgconfig tar:bzip2 USE_GL= glew USE_GNOME= gtk20 USE_SDL= sdl mixer @@ -29,8 +29,14 @@ USE_XORG= x11 xpm WRKSRC= ${WRKDIR}/openclonk-release-${DISTVERSIONPREFIX}${DISTVERSION}-src +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 1000024 +BROKEN= does not build (lack of proper c++11 support) +.endif + post-patch: @${REINPLACE_CMD} -e 's|DESTINATION games|DESTINATION bin|' \ ${WRKSRC}/CMakeLists.txt -.include <bsd.port.mk> +.include <bsd.port.post.mk> |