mirror of https://git.freebsd.org/ports.git
editors/uemacs: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation2023Q4
parent
ec698dcda7
commit
2d8686435c
|
@ -21,6 +21,12 @@ EXTRACT_BEFORE_ARGS= -Lq
|
|||
|
||||
CFLAGS+= -Wno-int-conversion
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
|
||||
CFLAGS+= -Wno-error=incompatible-function-pointer-types
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/src/*.c
|
||||
@${REINPLACE_CMD} -e 's|-ltermcap|${LDFLAGS} -lncurses|g' \
|
||||
|
|
Loading…
Reference in New Issue