Skip to content

Commit

Permalink
multimedia/mplayer: enable altivec on compatible CPUs
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubaj committed Jun 20, 2023
1 parent 197afab commit 4514cc8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion 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
Expand Down
4 changes: 4 additions & 0 deletions multimedia/mplayer/Makefile.options
Expand Up @@ -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
Expand Down

0 comments on commit 4514cc8

Please sign in to comment.