pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/libaom Only need nasm for x86.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cfd661f266c2
branches:  trunk
changeset: 334866:cfd661f266c2
user:      rjs <rjs%pkgsrc.org@localhost>
date:      Fri Jun 07 17:54:07 2019 +0000

description:
Only need nasm for x86.

diffstat:

 multimedia/libaom/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r ffe90fadde4c -r cfd661f266c2 multimedia/libaom/Makefile
--- a/multimedia/libaom/Makefile        Fri Jun 07 15:18:29 2019 +0000
+++ b/multimedia/libaom/Makefile        Fri Jun 07 17:54:07 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2018/11/11 18:03:17 leot Exp $
+# $NetBSD: Makefile,v 1.6 2019/06/07 17:54:07 rjs Exp $
 
 PKGNAME=       libaom-1.0.0
 PKGREVISION=   1
@@ -42,6 +42,8 @@
 CMAKE_ARGS+=   -DCONFIG_RUNTIME_CPU_DETECT=0
 .endif
 
+.if ${MACHINE_ARCH} == x86_64 || ${MACHINE_ARCH} == i386
 BUILD_DEPENDS+=        nasm>=2.13:../../devel/nasm
+.endif
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index