Received: by mail.netbsd.org (Postfix, from userid 605) id BE8C784E65; Sun, 3 Jun 2018 00:47:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id EB9D384D5F for ; Sun, 3 Jun 2018 00:47:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id XnJYq0IK0bFK for ; Sun, 3 Jun 2018 00:47:30 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 3669184D57 for ; Sun, 3 Jun 2018 00:47:30 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 2AC28FBEC; Sun, 3 Jun 2018 00:47:30 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1527986850170660" MIME-Version: 1.0 Date: Sun, 3 Jun 2018 00:47:30 +0000 From: "Sevan Janiyan" Subject: CVS commit: pkgsrc/multimedia/libvpx To: pkgsrc-changes@NetBSD.org Reply-To: sevan@netbsd.org X-Mailer: log_accum Message-Id: <20180603004730.2AC28FBEC@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1527986850170660 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: sevan Date: Sun Jun 3 00:47:30 UTC 2018 Modified Files: pkgsrc/multimedia/libvpx: Makefile Log Message: As far as PowerPC support goes, libvpx supports 64-bit PowerPC in Little Endian mode only, now. Set the target to generic-gnu for powerpc based ports on NetBSD to allow libvpx to build and run, though without any targetted optimization. Resolves build issue on NetBSD/macppc which failed at configure stage otherwise. TenFourFox has patches to add support for Altivec acceleration, which could be used to add support back again locally. https://github.com/classilla/tenfourfox/tree/master/media/libvpx To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 pkgsrc/multimedia/libvpx/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1527986850170660 Content-Disposition: inline Content-Length: 838 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/multimedia/libvpx/Makefile diff -u pkgsrc/multimedia/libvpx/Makefile:1.73 pkgsrc/multimedia/libvpx/Makefile:1.74 --- pkgsrc/multimedia/libvpx/Makefile:1.73 Thu May 10 21:10:38 2018 +++ pkgsrc/multimedia/libvpx/Makefile Sun Jun 3 00:47:30 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.73 2018/05/10 21:10:38 jmcneill Exp $ +# $NetBSD: Makefile,v 1.74 2018/06/03 00:47:30 sevan Exp $ DISTNAME= libvpx-1.7.0 CATEGORIES= multimedia @@ -102,6 +102,10 @@ SUBST_SED.clang= -e 's/-DINLINE_ASM/-DIN CONFIGURE_ARGS+= --target=mips32-linux-gcc .endif +.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "powerpc" +CONFIGURE_ARGS+= --target=generic-gnu +.endif + .if !empty(MACHINE_PLATFORM:MNetBSD-*-*arm*) || !empty(MACHINE_PLATFORM:MNetBSD-*-*aarch64*) CONFIGURE_ARGS+= --disable-runtime-cpu-detect .endif --_----------=_1527986850170660--