Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2018 06:36:37 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459398 - in head: games/eduke32 multimedia/libvpx
Message-ID:  <201801190636.w0J6abt8036996@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Jan 19 06:36:37 2018
New Revision: 459398
URL: https://svnweb.freebsd.org/changeset/ports/459398

Log:
  Allow to build on sparc64 and powerpc.

Modified:
  head/games/eduke32/Makefile
  head/multimedia/libvpx/Makefile

Modified: head/games/eduke32/Makefile
==============================================================================
--- head/games/eduke32/Makefile	Fri Jan 19 06:15:16 2018	(r459397)
+++ head/games/eduke32/Makefile	Fri Jan 19 06:36:37 2018	(r459398)
@@ -29,7 +29,6 @@ LIB_DEPENDS=	libFLAC.so:audio/flac \
 		libpng.so:graphics/png
 
 BROKEN_aarch64=		fails to compile: polymost.cpp:2403:18: non-constant-expression cannot be narrowed from type 'long' to 'int32_t' (aka 'int') in initializer list
-BROKEN_sparc64=		fails to compile
 
 USES=		gmake pkgconfig tar:xz
 USE_GL=		gl glu
@@ -48,6 +47,8 @@ PORTEXAMPLES=	*
 OPTIONS_DEFINE=		EXAMPLES GCC HRP OFFENSIVE SHAREWARE VOXEL
 OPTIONS_DEFINE_i386=	ASM
 OPTIONS_DEFAULT_i386=	ASM
+OPTIONS_DEFAULT_powerpc=	GCC
+OPTIONS_DEFAULT_sparc64=	GCC
 
 ASM_BUILD_DEPENDS=	nasm:devel/nasm
 ASM_MAKE_ARGS_OFF=	NOASM=1

Modified: head/multimedia/libvpx/Makefile
==============================================================================
--- head/multimedia/libvpx/Makefile	Fri Jan 19 06:15:16 2018	(r459397)
+++ head/multimedia/libvpx/Makefile	Fri Jan 19 06:36:37 2018	(r459398)
@@ -82,6 +82,8 @@ THREADS_CONFIGURE_OFF=	--disable-multithread
 post-patch:
 	@${REINPLACE_CMD} 's|\(link_with_cc\)=gcc|\1=$${CC}|' \
 		${WRKSRC}/build/make/configure.sh
+	@${REINPLACE_CMD} 's|sparc-solaris-gcc|sparc-linux-gcc|' \
+		${WRKSRC}/configure
 
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/vpx*



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