git: b8b15e733683 - main - devel/dmucs: Fix build on llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jun 2023 14:09:04 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=b8b15e7336837db747aa499c13760f859977a814 commit b8b15e7336837db747aa499c13760f859977a814 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-03 13:34:31 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-03 14:08:48 +0000 devel/dmucs: Fix build on llvm15 --- devel/dmucs/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/devel/dmucs/Makefile b/devel/dmucs/Makefile index 398c04665467..f31f2e617a68 100644 --- a/devel/dmucs/Makefile +++ b/devel/dmucs/Makefile @@ -25,8 +25,10 @@ PLIST_FILES= bin/dmucs bin/gethost bin/loadavg bin/monitor bin/remhost .include <bsd.port.pre.mk> +post-patch: .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) -CPPFLAGS+= -Wno-error=int-conversion + @${REINPLACE_CMD} -e 's|CFLAGS = -O -I./HDR|CFLAGS=-Wno-error=int-conversion -O -I./HDR|' \ + ${WRKSRC}/COSMIC/Makefile .endif .include <bsd.port.post.mk>