Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Feb 2022 16:18:08 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fea9da94702f - main - audio/cardinal: Add USES=compiler:c++11-lang
Message-ID:  <202202071618.217GI81P074738@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

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

commit fea9da94702f56171543c44cbc7a1e5d1743ef08
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-02-07 16:17:10 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-02-07 16:18:04 +0000

    audio/cardinal: Add USES=compiler:c++11-lang
---
 audio/cardinal/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/audio/cardinal/Makefile b/audio/cardinal/Makefile
index bf868e5a5c89..d0796fc98c8a 100644
--- a/audio/cardinal/Makefile
+++ b/audio/cardinal/Makefile
@@ -19,7 +19,7 @@ LIB_DEPENDS=	libdbus-1.so:devel/dbus \
 		libsndfile.so:audio/libsndfile \
 		libspeexdsp.so:audio/speexdsp
 
-USES=		gl gmake libarchive localbase:ldflags pkgconfig python shebangfix xorg
+USES=		compiler:c++11-lang gl gmake libarchive localbase:ldflags pkgconfig python shebangfix xorg
 USE_XORG=	x11 xcursor xext xrandr
 USE_GL=		gl
 
@@ -121,6 +121,8 @@ MAKE_ENV=	LD_PRELOAD=/usr/lib/libpthread.so # workaround for https://github.com/
 MAKE_ARGS=	SYSDEPS=true
 
 BINARY_ALIAS=	gcc-ar=ar \
-		python3=${PYTHON_CMD}
+		python3=${PYTHON_CMD} \
+		c++=${FILESDIR}/c++ \
+		cc=${FILESDIR}/cc
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202071618.217GI81P074738>