diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile index f9fce65ff92cb..0a62647b3b0ca 100644 --- a/multimedia/mplayer/Makefile +++ b/multimedia/mplayer/Makefile @@ -1,6 +1,6 @@ PORTNAME= mplayer PORTVERSION= ${MPLAYER_PORT_VERSION}.${MPLAYER_SNAPSHOT_DATE:S/-//g} -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= multimedia audio MAINTAINER= riggs@FreeBSD.org diff --git a/multimedia/mplayer/Makefile.options b/multimedia/mplayer/Makefile.options index e331ec3cc2d86..afbc1e0603699 100644 --- a/multimedia/mplayer/Makefile.options +++ b/multimedia/mplayer/Makefile.options @@ -51,6 +51,10 @@ BUILD_DEPENDS+= as:devel/binutils@native CFLAGS+= -no-integrated-as .endif +.if defined(MACHINE_CPU) && ${MACHINE_CPU:Maltivec} +CONFIGURE_ARGS+= --enable-altivec +.endif + LDFLAGS_i386+= -Wl,-z,notext # Extra build options for debugging