aboutsummaryrefslogtreecommitdiff
path: root/multimedia/libx264
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-07-14 23:42:03 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-07-14 23:42:03 +0000
commit14b870552716f39e8bf0aafcee9c85436bc7e74a (patch)
tree30a7016009407a32f81ade703ef5dce5772a843c /multimedia/libx264
parentd6a0cae988b284df169a5b561225493b42d7be12 (diff)
downloadports-14b870552716f39e8bf0aafcee9c85436bc7e74a.tar.gz
ports-14b870552716f39e8bf0aafcee9c85436bc7e74a.zip
multimedia/libx264: yasm is only used on x86, other archs use GNU as
PR: 220694 Approved by: koobs (maintainer) MFH: 2017Q3 (minor build optimization) Differential Revision: https://reviews.freebsd.org/D11566
Notes
Notes: svn path=/head/; revision=445838
Diffstat (limited to 'multimedia/libx264')
-rw-r--r--multimedia/libx264/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/libx264/Makefile b/multimedia/libx264/Makefile
index c5f951a337af..46245f3b5133 100644
--- a/multimedia/libx264/Makefile
+++ b/multimedia/libx264/Makefile
@@ -17,7 +17,9 @@ OPTIONS_DEFINE= ASM HI10P OPENCL
OPTIONS_DEFAULT= ASM OPENCL
OPTIONS_EXCLUDE= FFMS GPAC LAVF LSMASH SWSCALE
-ASM_BUILD_DEPENDS= yasm>=1.2.0:devel/yasm
+ASM_BUILD_DEPENDS= ${ASM_BUILD_DEPENDS_${ARCH}}
+ASM_BUILD_DEPENDS_amd64=${ASM_BUILD_DEPENDS_i386}
+ASM_BUILD_DEPENDS_i386= yasm>=1.2.0:devel/yasm
HI10P_DESC= Enable High 10 Profile 10-bit encoding
HI10P_CONFIGURE_ON= --bit-depth=10