git: caa9499c7c7e - main - www/unit-perl: fix failed build on -CURRENT after clang12 import.
Sergey A. Osokin
osa at FreeBSD.org
Thu Jun 24 12:54:34 UTC 2021
The branch main has been updated by osa:
URL: https://cgit.FreeBSD.org/ports/commit/?id=caa9499c7c7ecd5f17c18ffa6ebbfc00ec83e141
commit caa9499c7c7ecd5f17c18ffa6ebbfc00ec83e141
Author: Sergey A. Osokin <osa at FreeBSD.org>
AuthorDate: 2021-06-24 12:53:12 +0000
Commit: Sergey A. Osokin <osa at FreeBSD.org>
CommitDate: 2021-06-24 12:54:24 +0000
www/unit-perl: fix failed build on -CURRENT after clang12 import.
---
www/unit-perl/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/www/unit-perl/Makefile b/www/unit-perl/Makefile
index 725afb62fefb..526a7fed4bb8 100644
--- a/www/unit-perl/Makefile
+++ b/www/unit-perl/Makefile
@@ -16,6 +16,11 @@ USE_RC_SUBR?= # reset to empty
MASTERDIR= ${.CURDIR}/../unit
+# Fix build failure on clang12
+.if ${OSVERSION} >= 1400023
+CFLAGS+= -Wno-compound-token-split-by-macro
+.endif
+
post-configure:
cd ${CONFIGURE_WRKSRC} && \
${CONFIGURE_CMD} perl --module=${UNIT_MODNAME}
More information about the dev-commits-ports-all
mailing list