diff --git a/x11/hypridle/Makefile b/x11/hypridle/Makefile index 6dddb29d3c3a0..c5988f82acb6c 100644 --- a/x11/hypridle/Makefile +++ b/x11/hypridle/Makefile @@ -25,6 +25,12 @@ GH_ACCOUNT= hyprwm LDFLAGS+= -Wl,--as-needed # sdbus-cpp deps PLIST_FILES= bin/${PORTNAME} +# XXX Drop after FreeBSD 14.0 EOL around 2025-03-01 +.if exists(/usr/include/c++/v1/__format/format_functions.h) && \ + !exists(/usr/include/c++/v1/__format/write_escaped.h) +CXXFLAGS+= -fexperimental-library +.endif + post-patch: # https://github.com/ConsoleKit2/ConsoleKit2/issues/150 # https://github.com/ConsoleKit2/ConsoleKit2/issues/151