svn commit: r337143 - head/games/spring

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat Dec 21 12:55:30 UTC 2013


Author: amdmi3
Date: Sat Dec 21 12:55:29 2013
New Revision: 337143
URL: http://svnweb.freebsd.org/changeset/ports/337143

Log:
  - Turn BROKEN into ONLY_FOR_ARCHS

Modified:
  head/games/spring/Makefile

Modified: head/games/spring/Makefile
==============================================================================
--- head/games/spring/Makefile	Sat Dec 21 12:53:25 2013	(r337142)
+++ head/games/spring/Makefile	Sat Dec 21 12:55:29 2013	(r337143)
@@ -21,8 +21,10 @@ LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/
 		libexecinfo.so:${PORTSDIR}/devel/libexecinfo
 BUILD_DEPENDS=	7z:${PORTSDIR}/archivers/p7zip
 
-ONLY_FOR_ARCHS=	i386 amd64
-ONLY_FOR_ARCHS_REASON=	relies on x86 floating-point math
+# 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=	sdl
 USE_OPENAL=	al
@@ -65,10 +67,6 @@ PR_DOWNLOADER_LIB_DEPENDS=libcurl.so:${P
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == "i386"
-BROKEN=		does not build on i386 (undefined reference to __sync_fetch_and_add_8)
-.endif
-
 .if defined(WITH_SYNC_DEBUG)
 CFLAGS=		# empty
 CXXFLAGS=	# empty


More information about the svn-ports-head mailing list