aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2023-06-20 01:44:07 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2023-06-20 01:49:59 +0000
commit4514cc83c6cf66cac17697904ce314a5d72fcdc2 (patch)
tree53ad248cda510b1297ddd9d00b7826c87a4c867f /multimedia
parent197afab9d97fc9656a79f971966b28f6313d8d2c (diff)
downloadports-4514cc83c6cf66cac17697904ce314a5d72fcdc2.tar.gz
ports-4514cc83c6cf66cac17697904ce314a5d72fcdc2.zip
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mplayer/Makefile2
-rw-r--r--multimedia/mplayer/Makefile.options4
2 files changed, 5 insertions, 1 deletions
diff --git a/multimedia/mplayer/Makefile b/multimedia/mplayer/Makefile
index f9fce65ff92c..0a62647b3b0c 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 e331ec3cc2d8..afbc1e060369 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