Date: Mon, 16 Jul 2012 11:58:03 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r300947 - head/multimedia/libmpeg3 Message-ID: <201207161158.q6GBw33i038846@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Jul 16 11:58:02 2012 New Revision: 300947 URL: http://svn.freebsd.org/changeset/ports/300947 Log: Only define MMX on i386 Modified: head/multimedia/libmpeg3/Makefile Modified: head/multimedia/libmpeg3/Makefile ============================================================================== --- head/multimedia/libmpeg3/Makefile Mon Jul 16 11:45:41 2012 (r300946) +++ head/multimedia/libmpeg3/Makefile Mon Jul 16 11:58:02 2012 (r300947) @@ -16,7 +16,8 @@ COMMENT= Advanced editing and manipulati 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207161158.q6GBw33i038846>