svn commit: r567405 - in head/games/0ad: . files

Guido Falsi madpilot at FreeBSD.org
Sat Mar 6 11:20:35 UTC 2021


On 05/03/21 21:13, Piotr Kubaj wrote:
> On 21-03-05 18:51:32, Guido Falsi wrote:
>> Author: madpilot
>> Date: Fri Mar  5 18:51:31 2021
>> New Revision: 567405
>> URL: https://svnweb.freebsd.org/changeset/ports/567405
>>
>> Log:
>>    - Import patches for powerpc64le
>>    - Force the -msse2 option only for i386 where it is actually needed
>>    
>>    PR:		253924
>>    Submitted by:	pkubaj@
>>
>> Added:
>>    head/games/0ad/files/patch-libraries_source_nvtt_src_src_nvcore_Debug.cpp   (contents, props changed)
>>    head/games/0ad/files/patch-source_lib_byte__order.h   (contents, props changed)
>>    head/games/0ad/files/patch-source_lib_sysdep_arch.h   (contents, props changed)
>>    head/games/0ad/files/patch-source_lib_sysdep_arch_ppc64_ppc64.cpp   (contents, props changed)
>>    head/games/0ad/files/patch-source_ps_GameSetup_HWDetect.cpp   (contents, props changed)
>> Modified:
>>    head/games/0ad/Makefile
>>    head/games/0ad/files/patch-build_premake_premake5.lua
>>
>> Modified: head/games/0ad/Makefile
>> ==============================================================================
>> --- head/games/0ad/Makefile	Fri Mar  5 18:28:34 2021	(r567404)
>> +++ head/games/0ad/Makefile	Fri Mar  5 18:51:31 2021	(r567405)
>> @@ -45,7 +45,6 @@ WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-alpha
>>   BUILD_WRKSRC=	${WRKSRC}/build/workspaces/gcc
>>   MAKE_ARGS=	config=release verbose=1
>>   CPPFLAGS+=	-DU_USING_ICU_NAMESPACE=1
>> -CFLAGS+=	-msse2
>>   BUNDLE_LIBS=	yes
>>   DOS2UNIX_REGEX=	.*\.([ch]p{0,2}|make)
>>   BINARY_ALIAS=	python3=${PYTHON_CMD}
>> @@ -57,6 +56,10 @@ MAKE_ENV+=	JOBS=${_MAKE_JOBS}
>>   PORTDATA=	*
>>   
>>   .include <bsd.port.pre.mk>
>> +
>> +.if ${ARCH} == i386
>> +CFLAGS+=	-msse2
>> +.endif
> 
> Instead of this, you could just set:
> CFLAGS_i386=	-msse2
> right below CPPFLAGS+=	-DU_USING_ICU_NAMESPACE=1
> 

Done, thanks for the suggestion!

-- 
Guido Falsi <madpilot at FreeBSD.org>


More information about the svn-ports-all mailing list