pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/libvpx As far as PowerPC support goes, libv...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8cb47f860895
branches:  trunk
changeset: 381283:8cb47f860895
user:      sevan <sevan%pkgsrc.org@localhost>
date:      Sun Jun 03 00:47:30 2018 +0000

description:
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

diffstat:

 multimedia/libvpx/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 51b051af9237 -r 8cb47f860895 multimedia/libvpx/Makefile
--- a/multimedia/libvpx/Makefile        Sat Jun 02 23:31:48 2018 +0000
+++ b/multimedia/libvpx/Makefile        Sun Jun 03 00:47:30 2018 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index