Fix build on i386 by switching to yasm instead of nasm
Reported by: Andrei V. Lavreniyuk <andy.lavr@reactor-xg.kiev.ua> miwi Boris Samorodov <bsam@ipt.ru>
This commit is contained in:
parent
a522542a05
commit
2a193f3f3e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=211009
2 changed files with 4 additions and 10 deletions
|
@ -15,6 +15,8 @@ DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION:S/0.0.//}-2245
|
|||
MAINTAINER= multimedia@FreeBSD.org
|
||||
COMMENT?= Multimedia library and tool for encoding H.264/AVC video streams
|
||||
|
||||
BUILD_DEPENDS= yasm>=0.6.0:${PORTSDIR}/devel/yasm
|
||||
|
||||
WANT_GNOME= yes
|
||||
USE_BZIP2= yes
|
||||
EXTRACT_AFTER_ARGS?= | ${TAR} -xf - --exclude .svn
|
||||
|
@ -47,14 +49,9 @@ OPTIONS+= GPAC "Enable MPEG-4 Output" On \
|
|||
.endif
|
||||
|
||||
.if ${ARCH}=="i386"
|
||||
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
|
||||
MAKE_ENV+= ARCH_X86="1"
|
||||
.endif
|
||||
|
||||
.if ${ARCH}=="amd64" || ${ARCH}=="sparc64"
|
||||
BUILD_DEPENDS+= yasm>=0.6.0:${PORTSDIR}/devel/yasm
|
||||
.endif
|
||||
|
||||
MAKE_ENV+= ARCH=${ARCH}
|
||||
|
||||
.if defined(WITH_DEBUG)
|
||||
|
|
|
@ -15,6 +15,8 @@ DISTNAME= ${PORTNAME}-snapshot-${PORTVERSION:S/0.0.//}-2245
|
|||
MAINTAINER= multimedia@FreeBSD.org
|
||||
COMMENT?= Multimedia library and tool for encoding H.264/AVC video streams
|
||||
|
||||
BUILD_DEPENDS= yasm>=0.6.0:${PORTSDIR}/devel/yasm
|
||||
|
||||
WANT_GNOME= yes
|
||||
USE_BZIP2= yes
|
||||
EXTRACT_AFTER_ARGS?= | ${TAR} -xf - --exclude .svn
|
||||
|
@ -47,14 +49,9 @@ OPTIONS+= GPAC "Enable MPEG-4 Output" On \
|
|||
.endif
|
||||
|
||||
.if ${ARCH}=="i386"
|
||||
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm
|
||||
MAKE_ENV+= ARCH_X86="1"
|
||||
.endif
|
||||
|
||||
.if ${ARCH}=="amd64" || ${ARCH}=="sparc64"
|
||||
BUILD_DEPENDS+= yasm>=0.6.0:${PORTSDIR}/devel/yasm
|
||||
.endif
|
||||
|
||||
MAKE_ENV+= ARCH=${ARCH}
|
||||
|
||||
.if defined(WITH_DEBUG)
|
||||
|
|
Loading…
Reference in a new issue