aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2023-06-19 12:31:39 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2023-06-19 13:18:07 +0000
commit3d27c0e8d92eca2f7484b0b3f9b466f2d4cf46ad (patch)
tree667f36e8ee351d7b49817e3cb4dbbcc597c014cb
parentdcbc273b6b19b13eac1b1fbbb013148e1721dc85 (diff)
downloadports-3d27c0e8d92eca2f7484b0b3f9b466f2d4cf46ad.tar.gz
ports-3d27c0e8d92eca2f7484b0b3f9b466f2d4cf46ad.zip
audio/mpg123: enable altivec on compatible CPUs
-rw-r--r--audio/mpg123/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/audio/mpg123/Makefile b/audio/mpg123/Makefile
index 7135d974295e..f4f8898e4677 100644
--- a/audio/mpg123/Makefile
+++ b/audio/mpg123/Makefile
@@ -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>