pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/libjpeg-turbo Only depend on nasm on amd64 an...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a401377f4172
branches:  trunk
changeset: 646246:a401377f4172
user:      rjs <rjs%pkgsrc.org@localhost>
date:      Thu Feb 05 21:29:59 2015 +0000

description:
Only depend on nasm on amd64 and i386.

Note that it uses NEON instructions on ARM.

diffstat:

 graphics/libjpeg-turbo/DESCR    |  2 +-
 graphics/libjpeg-turbo/Makefile |  4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 7d81e5cd7006 -r a401377f4172 graphics/libjpeg-turbo/DESCR
--- a/graphics/libjpeg-turbo/DESCR      Thu Feb 05 21:21:57 2015 +0000
+++ b/graphics/libjpeg-turbo/DESCR      Thu Feb 05 21:29:59 2015 +0000
@@ -1,3 +1,3 @@
 libjpeg-turbo is a version of libjpeg which uses MMX, SSE, and SSE2 SIMD
 instructions to accelerate baseline JPEG compression/decompression by about
-2-4x on x86 and x86-64 platforms.
+2-4x on x86 and x86-64 platforms. It will use NEON instructions on ARM.
diff -r 7d81e5cd7006 -r a401377f4172 graphics/libjpeg-turbo/Makefile
--- a/graphics/libjpeg-turbo/Makefile   Thu Feb 05 21:21:57 2015 +0000
+++ b/graphics/libjpeg-turbo/Makefile   Thu Feb 05 21:29:59 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2015/01/28 21:51:02 rjs Exp $
+# $NetBSD: Makefile,v 1.12 2015/02/05 21:29:59 rjs Exp $
 #
 
 DISTNAME=      libjpeg-turbo-1.4.0
@@ -12,7 +12,9 @@
 
 CONFLICTS=     jpeg-[0-9]*
 
+.if ${MACHINE_ARCH} == x86_64 || ${MACHINE_ARCH} == i386
 BUILD_DEPENDS+=        nasm-[0-9]*:../../devel/nasm
+.endif
 
 GNU_CONFIGURE= yes
 # compatibility with pkgsrc/graphics/jpeg



Home | Main Index | Thread Index | Old Index