pkgsrc-Changes archive

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

CVS commit: pkgsrc/multimedia/libvpx



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.

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



Home | Main Index | Thread Index | Old Index