aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-02-07 23:10:34 +0000
committerJan Beich <jbeich@FreeBSD.org>2023-02-07 23:20:57 +0000
commite7111d77c0a7e67cc0277d62f02dab636e1b709c (patch)
tree6611cb4bf862687656ac1737fa7f7aaea975942a
parent723f83e80dd2345815f320d6446f60b51da386be (diff)
downloadports-e7111d77c0a7e67cc0277d62f02dab636e1b709c.tar.gz
ports-e7111d77c0a7e67cc0277d62f02dab636e1b709c.zip
x11-wm/kwinft: unbreak build with GCC after cb303a704361
-rw-r--r--x11-wm/kwinft/Makefile2
1 files changed, 2 insertions, 0 deletions
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>