multimedia/mplayer: enable altivec on compatible CPUs

This commit is contained in:
Piotr Kubaj 2023-06-20 03:44:07 +02:00
parent 197afab9d9
commit 4514cc83c6
2 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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