diff --git a/multimedia/svt-av1/Makefile b/multimedia/svt-av1/Makefile index 76ebf1c99208..e0a340bd2c00 100644 --- a/multimedia/svt-av1/Makefile +++ b/multimedia/svt-av1/Makefile @@ -1,38 +1,39 @@ PORTNAME= svt-av1 DISTVERSIONPREFIX= v DISTVERSION= 0.8.7 PORTREVISION= 1 CATEGORIES= multimedia PATCH_SITES= ${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/ PATCHFILES+= 284ef885f85f.patch:-p1 # https://gitlab.com/AOMediaCodec/SVT-AV1/-/merge_requests/1704 MAINTAINER= jbeich@FreeBSD.org COMMENT= Scalable AV1 encoder LICENSE= BSD2CLAUSE BSD3CLAUSE MIT LICENSE_COMB= multi LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/LICENSE.md LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/third_party/fastfeat/LICENSE LICENSE_FILE_MIT= ${WRKSRC}/third_party/safestringlib/LICENSE -BUILD_DEPENDS= nasm:devel/nasm +BUILD_DEPENDS= ${BUILD_DEPENDS_${ARCH}} +BUILD_DEPENDS_amd64= nasm:devel/nasm USES= cmake compiler:c11 USE_GITLAB= yes USE_LDCONFIG= yes GL_ACCOUNT= AOMediaCodec GL_PROJECT= SVT-AV1 GL_COMMIT= 3971c982311d49f9355dc8dccdcf8d21b70fa624 CMAKE_ON= ENABLE_NASM CMAKE_OFF= NATIVE OPTIONS_DEFINE= LTO OPTIONS_DEFAULT=LTO OPTIONS_EXCLUDE_powerpc64= ${"${/usr/bin/ld:L:tA}"==/usr/bin/ld.lld:?LTO:} # LLVM bug 47353 OPTIONS_EXCLUDE_riscv64= LTO LTO_CMAKE_BOOL= CMAKE_INTERPROCEDURAL_OPTIMIZATION LTO_CMAKE_ON= -DCMAKE_POLICY_DEFAULT_CMP0069:STRING=NEW .include