diff options
author | bapt <bapt@FreeBSD.org> | 2012-07-16 19:58:02 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2012-07-16 19:58:02 +0800 |
commit | aed8e74ec7370f19dad9d95e17012f3b6e233929 (patch) | |
tree | ef73d9109686cbd55e1b399eab0f0c836810a490 /multimedia/libmpeg3 | |
parent | 51b9b9da958b1218fe35de6b81f3ddaa16ca0a24 (diff) | |
download | freebsd-ports-gnome-aed8e74ec7370f19dad9d95e17012f3b6e233929.tar.gz freebsd-ports-gnome-aed8e74ec7370f19dad9d95e17012f3b6e233929.tar.zst freebsd-ports-gnome-aed8e74ec7370f19dad9d95e17012f3b6e233929.zip |
Only define MMX on i386
Diffstat (limited to 'multimedia/libmpeg3')
-rw-r--r-- | multimedia/libmpeg3/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/multimedia/libmpeg3/Makefile b/multimedia/libmpeg3/Makefile index 632e4ad4ee41..be77cac4ae84 100644 --- a/multimedia/libmpeg3/Makefile +++ b/multimedia/libmpeg3/Makefile @@ -16,7 +16,8 @@ COMMENT= Advanced editing and manipulation of MPEG streams LIB_DEPENDS= a52.0:${PORTSDIR}/audio/liba52 -OPTIONS_DEFINE= MMX DOCS +OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE_i386= MMX WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} @@ -40,7 +41,7 @@ NASM?= ${LOCALBASE}/bin/nasm .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MMMX} && (${ARCH} == "i386") +.if ${PORT_OPTIONS:MMMX} BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm MAKE_ARGS+= USE_MMX=1 NASM="${NASM}" CFLAGS+= -DHAVE_MMX |