svn commit: r386267 - head/games/spring
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed May 13 20:59:08 UTC 2015
Author: amdmi3
Date: Wed May 13 20:59:07 2015
New Revision: 386267
URL: https://svnweb.freebsd.org/changeset/ports/386267
Log:
- Bring back ONLY_FOR_ARCHS which was lost in the last update
- Mark BROKEN on pre-10.x
Modified:
head/games/spring/Makefile
Modified: head/games/spring/Makefile
==============================================================================
--- head/games/spring/Makefile Wed May 13 20:53:38 2015 (r386266)
+++ head/games/spring/Makefile Wed May 13 20:59:07 2015 (r386267)
@@ -20,6 +20,11 @@ LIB_DEPENDS= libfreetype.so:${PORTSDIR}/
libvorbis.so:${PORTSDIR}/audio/libvorbis
BUILD_DEPENDS= 7z:${PORTSDIR}/archivers/p7zip
+# XXX: it should be possible to build it on i386, investigate
+# (currently link fails on undefined reference to __sync_fetch_and_add_8)
+ONLY_FOR_ARCHS= amd64
+ONLY_FOR_ARCHS_REASON= relies on x86 floating-point math and amd64 atomic ops
+
USE_SDL= sdl2
USE_GL= gl glu glew
USE_XORG= x11 xcursor
@@ -74,7 +79,11 @@ PR_DOWNLOADER_LIB_DEPENDS=libcurl.so:${P
check test xregression-test: build
${MAKE} -C ${WRKSRC} check
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
+BROKEN= does not build (lack of proper c++11 support)
+.endif
.if defined(WITH_SYNC_DEBUG)
CFLAGS= # empty
@@ -111,4 +120,4 @@ post-patch:
pre-build:
cd ${WRKSRC} && ${MAKE} generateVersionFiles
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list