Date: Thu, 24 Jun 2021 12:54:33 GMT From: "Sergey A. Osokin" <osa@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: caa9499c7c7e - main - www/unit-perl: fix failed build on -CURRENT after clang12 import. Message-ID: <202106241254.15OCsXix098756@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by osa: URL: https://cgit.FreeBSD.org/ports/commit/?id=caa9499c7c7ecd5f17c18ffa6ebbfc00ec83e141 commit caa9499c7c7ecd5f17c18ffa6ebbfc00ec83e141 Author: Sergey A. Osokin <osa@FreeBSD.org> AuthorDate: 2021-06-24 12:53:12 +0000 Commit: Sergey A. Osokin <osa@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}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106241254.15OCsXix098756>