git: 4514cc83c6cf - main - multimedia/mplayer: enable altivec on compatible CPUs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Jun 2023 01:50:01 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=4514cc83c6cf66cac17697904ce314a5d72fcdc2 commit 4514cc83c6cf66cac17697904ce314a5d72fcdc2 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-06-20 01:44:07 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-06-20 01:49:59 +0000 multimedia/mplayer: enable altivec on compatible CPUs --- multimedia/mplayer/Makefile | 2 +- multimedia/mplayer/Makefile.options | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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