aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrond Endrestøl <Trond.Endrestol@ximalas.info>2023-07-28 21:04:40 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2023-07-30 22:59:05 +0000
commitc2bade1b964baa45b4eb2829f40f663048057e2c (patch)
tree9a464d93d6c3f518a23fc5ddc3b6718465db0fed
parentc735afd1b3c96bb91d857a506998d8e3ce849fb6 (diff)
downloadports-c2bade1b964baa45b4eb2829f40f663048057e2c.tar.gz
ports-c2bade1b964baa45b4eb2829f40f663048057e2c.zip
devel/codeblocks: fix build with recent clang
Port uses std::mem_fun which went away with C++17. Enforce use of C++11 to fix the build. PR: 272782 MFH: 2023Q3
-rw-r--r--devel/codeblocks/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/codeblocks/Makefile b/devel/codeblocks/Makefile
index 7264fa2e0ab0..a83c60698a70 100644
--- a/devel/codeblocks/Makefile
+++ b/devel/codeblocks/Makefile
@@ -21,6 +21,7 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \
USES= autoreconf compiler:c++11-lang desktop-file-utils \
fam:gamin gettext-runtime gnome libtool localbase \
pathfix pkgconfig shared-mime-info tar:xz xorg
+USE_CXXSTD= c++11
USE_WX= 3.0+
USE_GNOME= gtk30 cairo
USE_XORG= x11