diff --git a/security/botan3/Makefile b/security/botan3/Makefile index 64282de2bc4b..9225cb74655b 100644 --- a/security/botan3/Makefile +++ b/security/botan3/Makefile @@ -16,7 +16,7 @@ BROKEN_amd64= clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi? BROKEN_aarch64= clang crashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136 BROKEN_FreeBSD_13= compilation fails: no member named 'find' in namespace 'std::ranges' -LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs +# LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs USES= compiler:c++20-lang cpe gmake shebangfix tar:xz CPE_VENDOR= ${PORTNAME}_project @@ -27,6 +27,7 @@ SHEBANG_GLOB= *.py HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configure.py CONFIGURE_ARGS= --cc=${CHOSEN_COMPILER_TYPE} \ + ${"${CCACHE_BIN}" != "":?--compiler-cache=${CCACHE_BIN}:} \ --prefix=${PREFIX:Q} \ --with-boost \ --with-bzip2 \ @@ -84,9 +85,9 @@ PLIST_SUB+= HAS_PROCESSOR_RNG="" PLIST_SUB+= HAS_PROCESSOR_RNG="@comment " .endif -#.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ) || ${OSVERSION} < 1300000 ) -#USES+= llvm:max=15,min=14 -#.endif +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ) || ${OSVERSION} < 1300000 ) +USES+= llvm:max=15,min=14 +.endif post-patch: @${REINPLACE_CMD} -e 's|^optimization_flags .*|optimization_flags "${CXXFLAGS}"|' \