Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 2023 14:09:04 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b8b15e733683 - main - devel/dmucs: Fix build on llvm15
Message-ID:  <202306031409.353E94TE022559@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306031409.353E94TE022559>