git: e7111d77c0a7 - main - x11-wm/kwinft: unbreak build with GCC after cb303a704361
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Feb 2023 23:21:35 UTC
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>