Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2023 23:21:35 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e7111d77c0a7 - main - x11-wm/kwinft: unbreak build with GCC after cb303a704361
Message-ID:  <202302072321.317NLZUj005547@gitrepo.freebsd.org>

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

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

commit e7111d77c0a7e67cc0277d62f02dab636e1b709c
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-02-07 23:10:34 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-02-07 23:20:57 +0000

    x11-wm/kwinft: unbreak build with GCC after cb303a704361
---
 x11-wm/kwinft/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/x11-wm/kwinft/Makefile b/x11-wm/kwinft/Makefile
index 217afdf83359..6a9704511dcc 100644
--- a/x11-wm/kwinft/Makefile
+++ b/x11-wm/kwinft/Makefile
@@ -60,6 +60,7 @@ QA11Y_LIB_DEPENDS=	libqaccessibilityclient-qt5.so:accessibility/libqaccessibilit
 QA11Y_CMAKE_BOOL_OFF=	CMAKE_DISABLE_FIND_PACKAGE_QAccessibilityClient
 
 # XXX Drop after FreeBSD 12.3 EOL around 2023-03-01 (don't forget distinfo)
+.if ${CXX} == c++ && exists(/usr/lib/libc++.so)
 .if !exists(/usr/include/c++/v1/concepts) || make(makesum) || make(fetch)
 USES+=		llvm:13,build
 CC=		clang${LLVM_VERSION}
@@ -80,5 +81,6 @@ bundled-libcxx:
 		-B ${WRKDIR}/libcxx_build -S ${WRKSRC_libcxx}/libcxx
 	@${DO_MAKE_BUILD:NDESTDIR*} install -C ${WRKDIR}/libcxx_build
 .endif
+.endif # exists(/usr/lib/libc++.so)
 
 .include <bsd.port.mk>



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