aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-11-22 22:36:41 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-11-22 22:44:03 +0000
commitaafbb97d30a8b3eb208f0ea10a126338a21cb9f0 (patch)
tree9f763cdbc7350e467e80e872d7dfb210d9d30924
parent1a9de494aebc8625176452749663c5b8951fe1df (diff)
downloadports-aafbb97d30a8b3eb208f0ea10a126338a21cb9f0.tar.gz
ports-aafbb97d30a8b3eb208f0ea10a126338a21cb9f0.zip
security/weggli: Fix build for 12 and 13
PR: 275259 Reported by: mikael
-rw-r--r--security/weggli/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/security/weggli/Makefile b/security/weggli/Makefile
index 0ab57f44a948..daecff9c8a43 100644
--- a/security/weggli/Makefile
+++ b/security/weggli/Makefile
@@ -129,6 +129,12 @@ CARGO_CRATES= aho-corasick-0.7.18 \
winapi-x86_64-pc-windows-gnu-0.4.0
PLIST_FILES= bin/${PORTNAME}
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} <= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+USES+= llvm:min=16
+.endif
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}