1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

chinese/celvis: Fix build with llvm16

- Pet portclippy

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-07-23 19:24:34 +02:00
parent 8aed76d462
commit 296aef65e8

View File

@ -8,9 +8,17 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Vi/ex clone that speaks Chinese
USES= ncurses
CFLAGS+= -Wno-error=return-type
MAKE_ARGS= LIBS="${LDFLAGS} -lncurses"
CFLAGS+= -Wno-error=return-type
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
do-install:
@# install target in celvis Makefile is not too good -- this is easier
${INSTALL_PROGRAM} ${WRKSRC}/celvis ${WRKSRC}/virec ${STAGEDIR}${PREFIX}/bin