Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/ruby-augeas/Makefile,v
diff -u -p -u -r1.21 Makefile
--- Makefile	17 Nov 2025 08:56:01 -0000	1.21
+++ Makefile	19 Nov 2026 20:51:42 -0000
@@ -10,7 +10,11 @@ HOMEPAGE=	https://augeas.net/
 # LGPLv2.1
 PERMIT_PACKAGE=	Yes
 
-WANTLIB=	c++abi augeas pthread xml2
+WANTLIB=	augeas pthread xml2
+.include <bsd.port.arch.mk>
+.if ${PROPERTIES:Mclang}
+WANTLIB +=	c++abi
+.endif
 
 SITES=		https://github.com/hercules-team/ruby-augeas/releases/download/release-${V}/
 EXTRACT_SUFX=	.tgz
