git: bd4e47952526 - main - www/unit: fix build of www/unit-perl on 12.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 13 Mar 2023 16:45:26 UTC
The branch main has been updated by osa:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bd4e47952526025caf166ea729c03d44b0ac469e
commit bd4e47952526025caf166ea729c03d44b0ac469e
Author: Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2023-03-13 16:44:44 +0000
Commit: Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2023-03-13 16:45:21 +0000
www/unit: fix build of www/unit-perl on 12.4
Do no bump PORTREVISION.
---
www/unit/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/unit/Makefile b/www/unit/Makefile
index 23826e99313c..df85abe9fd58 100644
--- a/www/unit/Makefile
+++ b/www/unit/Makefile
@@ -116,7 +116,7 @@ CONFIGURE_ARGS+=--control=unix:${UNIT_SOCK}
.if defined(UNIT_MODNAME) && ${UNIT_MODNAME:Mperl*}
# Fix build failure on clang >= 12
-.if ${OSVERSION} >= 1301000
+.if ${OSVERSION} >= 1204000
CFLAGS+= -Wno-compound-token-split-by-macro
.endif
.endif