1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

news/nntp: fix build with clang16

This commit is contained in:
Dirk Meyer 2023-07-23 16:44:53 +02:00
parent 87c041d4b3
commit 5a57be18c1

View File

@ -15,6 +15,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libcnews.a:${CNEWS_PORT}
NO_WRKSUBDIR= yes
USE_CSTD= gnu89
CFLAGS+= -Wno-incompatible-pointer-types
PLIST_SUB+= VARBASE=${VARBASE}
PLIST_SUB+= NEWSBIN=${NEWSBIN:S=^${PREFIX}/==}
PLIST_SUB+= NEWSCTL=${NEWSCTL:S=^${VARBASE}/==}