Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2015 20:59:08 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386267 - head/games/spring
Message-ID:  <201505132059.t4DKx8Ix009813@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505132059.t4DKx8Ix009813>