git: a4c95629330e - main - audio/calf-lv2: drop GCC on powerpc64le

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 29 Jan 2025 16:57:46 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a4c95629330e5700e5fc6b917874374f4a5f4e76

commit a4c95629330e5700e5fc6b917874374f4a5f4e76
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-23 15:42:48 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-29 16:56:17 +0000

    audio/calf-lv2: drop GCC on powerpc64le
---
 audio/calf-lv2/Makefile | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/audio/calf-lv2/Makefile b/audio/calf-lv2/Makefile
index b087e8c7fa30..bb68340cfceb 100644
--- a/audio/calf-lv2/Makefile
+++ b/audio/calf-lv2/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	calf
 DISTVERSION=	0.90.4
+PORTREVISION=	1
 CATEGORIES=	audio
 #MASTER_SITES=	http://calf-studio-gear.org/files/
 PKGNAMESUFFIX=	-lv2
@@ -19,7 +20,7 @@ LIB_DEPENDS=	libfluidsynth.so:audio/fluidsynth \
 		libjack.so:audio/jack \
 		libexpat.so:textproc/expat2
 
-USES=		autoreconf desktop-file-utils gmake gnome libtool localbase pkgconfig
+USES=		autoreconf compiler:c++11-lang desktop-file-utils gmake gnome libtool localbase pkgconfig
 USE_GNOME=	cairo gdkpixbuf2 gtk20
 USE_CXXSTD=	c++11
 USE_LDCONFIG=	yes
@@ -51,19 +52,9 @@ PORTDOCS=	*
 
 PORTSCOUT=		limit:^[0-9\.]*$$ # prevet tags like 'works'
 
-.include <bsd.port.options.mk>
-
-.if ${ARCH} == powerpc64le
-USES+=		compiler:gcc-c++11-lib
-.else
-USES+=		compiler:c++11-lang
-.endif
-
-.include <bsd.port.pre.mk>
-
 post-install: # fix absolute symbolic link to be relative
 	@${RM} ${STAGEDIR}${PREFIX}/lib/lv2/calf.lv2/calf.so
 	@${RLN} ${STAGEDIR}${PREFIX}/lib/calf/libcalf.so ${STAGEDIR}${PREFIX}/lib/lv2/calf.lv2/calf.so
 	@${RLN} ${STAGEDIR}${PREFIX}/lib/calf/libcalflv2gui.so ${STAGEDIR}${PREFIX}/lib/lv2/calf.lv2/calflv2gui.so
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>