aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-03 13:34:31 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-03 14:08:48 +0000
commitb8b15e7336837db747aa499c13760f859977a814 (patch)
treeeabe490067054d24220067dd43105b5b39e50b22
parent8ae5ed687e477f6cd3c74cccabdb1c33a4bd40c9 (diff)
downloadports-b8b15e7336837db747aa499c13760f859977a814.tar.gz
ports-b8b15e7336837db747aa499c13760f859977a814.zip
devel/dmucs: Fix build on llvm15
-rw-r--r--devel/dmucs/Makefile4
1 files changed, 3 insertions, 1 deletions
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>