diff --git a/srcpkgs/libjpeg-turbo/template b/srcpkgs/libjpeg-turbo/template index 91163ee1631..5822b000aa0 100644 --- a/srcpkgs/libjpeg-turbo/template +++ b/srcpkgs/libjpeg-turbo/template @@ -7,7 +7,9 @@ replaces="jpeg>=0" subpackages="${pkgname}-devel ${pkgname}-tools" build_style=gnu-configure configure_args="--disable-static --with-jpeg8" -makedepends="nasm" +if [ "$XBPS_MACHINE" = "i686" -o "$XBPS_MACHINE" = "x86_64" ]; then + makedepends="nasm" +fi short_desc="Derivative of libjpeg which uses SIMD instructions" maintainer="Juan RP " license="BSD"