1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

sysutils/fsc: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-08-06 13:48:04 +02:00
parent c468513b79
commit 8861a8abb3

View File

@ -16,6 +16,12 @@ GH_ACCOUNT= bsdtrhodes
GH_PROJECT= freebsd-fscd
GH_TAGNAME= ef16626
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=unused-but-set-variable
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|' \
${WRKSRC}/fscd/fscd.8 ${WRKSRC}/fscd/fscd.c \