1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

audio/mpg123: enable altivec on compatible CPUs

This commit is contained in:
Piotr Kubaj 2023-06-19 14:31:39 +02:00
parent dcbc273b6b
commit 3d27c0e8d9

View File

@ -1,5 +1,6 @@
PORTNAME= mpg123
DISTVERSION= 1.31.3
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF \
https://www.mpg123.de/download/
@ -44,6 +45,8 @@ OPTCPU_CONFIGURE_OFF= --with-cpu=generic_fpu
.if ${ARCH} == "amd64"
CONFIGURE_ARGS+= --with-cpu=x86-64
.elif defined(MACHINE_CPU) && ${MACHINE_CPU:Maltivec}
CONFIGURE_ARGS+= --with-cpu=altivec
.endif
.include <bsd.port.post.mk>