aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2026-01-09 14:11:36 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2026-01-09 22:44:47 +0000
commit468bb34a9db85bc87876085645547eca7f55319c (patch)
tree8e36dba2bf6aba92bd4cdc1d3e48d9cbd48d6a8a
parent2001ed0e3e21d26d9de02cf0d371a08ad04f58a3 (diff)
x11/contour: fix build on powerpc*
Workaround for clang crash: Assertion failed: (isValid()), function getFilename, file /usr/src/contrib/llvm-project/clang/include/clang/Basic/SourceLocation.h, line 328.
-rw-r--r--x11/contour/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11/contour/Makefile b/x11/contour/Makefile
index 7a2482b0265a..9bdd9041f892 100644
--- a/x11/contour/Makefile
+++ b/x11/contour/Makefile
@@ -50,6 +50,10 @@ EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_crispy_read__selector.h
BUILD_DEPENDS+= tic:devel/ncurses
.endif
+.if ${ARCH:Mpowerpc*}
+USES+= compiler:gcc-c++11-lib
+.endif
+
post-install:
@${RM} -r ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d \