Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Nov 2016 20:57:54 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426626 - head/devel/godot
Message-ID:  <201611202057.uAKKvsXa064736@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Sun Nov 20 20:57:54 2016
New Revision: 426626
URL: https://svnweb.freebsd.org/changeset/ports/426626

Log:
  devel/godot: unbreak on some non-x86 targets
  
  In file included from platform/x11/godot_x11.cpp:30:
  In file included from platform/x11/os_x11.h:33:
  In file included from core/os/input.h:32:
  In file included from core/object.h:32:
  In file included from core/list.h:32:
  In file included from core/os/memory.h:33:
  core/safe_refcount.h:330:2: error: This platform cannot use safe refcount, compile with NO_THREADS or implement it.
   #error This platform cannot use safe refcount, compile with NO_THREADS or implement it.
    ^
  core/safe_refcount.h:338:3: error: unknown type name 'REFCOUNT_T'
    REFCOUNT_T count;
    ^
  
  PR:		214553
  Reported by:	pkg-fallout, linimon
  Submitted by:	Shane <FreeBSD@ShaneWare.Biz> (maintainer)

Modified:
  head/devel/godot/Makefile   (contents, props changed)

Modified: head/devel/godot/Makefile
==============================================================================
--- head/devel/godot/Makefile	Sun Nov 20 20:41:33 2016	(r426625)
+++ head/devel/godot/Makefile	Sun Nov 20 20:57:54 2016	(r426626)
@@ -32,6 +32,10 @@ MAKE_ARGS_clang=	use_llvm=yes
 CXXFLAGS+=	-DGLEW_NO_GLU -DRTAUDIO_ENABLED
 CXXFLAGS_i386=	${CXXFLAGS_i386_${CHOSEN_COMPILER_TYPE}}
 CXXFLAGS_i386_gcc=	-march=i586
+CXXFLAGS_aarch64= 	-DNO_THREADS
+CXXFLAGS_sparc64= 	-DNO_THREADS
+CXXFLAGS_mips= 		-DNO_THREADS
+CXXFLAGS_mips64=	-DNO_THREADS
 
 OPTIONS_DEFINE=	EXAMPLES TOOLS
 OPTIONS_DEFAULT=	OSS
@@ -62,9 +66,6 @@ PULSEAUDIO_MAKE_ARGS=	pulseaudio=yes
 GODOTFILE=		${PORTNAME}${PKGNAMESUFFIX}
 PLIST_FILES=	bin/${GODOTFILE}
 
-BROKEN_sparc64=		Fails to compile: error: This platform cannot use safe refcount, compile with NO_THREADS or implement it
-BROKEN_aarch64=		Fails to compile: error: This platform cannot use safe refcount, compile with NO_THREADS or implement it
-
 .ifmake makesum
 # Always include optional distfiles
 .MAKEFLAGS:	WITH="${OPTIONS_DEFINE}" OPTIONS_EXCLUDE=



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