Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2013 12:55:30 +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: r337143 - head/games/spring
Message-ID:  <201312211255.rBLCtUB2033270@svn.freebsd.org>

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



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