Skip to content
Snippets Groups Projects
Commit b66dd150 authored by Muhammad Moinur Rahman's avatar Muhammad Moinur Rahman
Browse files

shells/ast-ksh: Fix build with llvm15

Approved by:	portmgr (blanket)
parent 94b11390
No related branches found
No related tags found
No related merge requests found
......@@ -44,6 +44,12 @@ KSHVERSION= 2014-12-24
STATIC_MAKE_ENV= LDFLAGS+=-static
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
CFLAGS+= -Wno-error=int-conversion
.endif
post-patch:
@${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' ${WRKSRC}/src/lib/libast/include/sfio*.h ${WRKSRC}/src/lib/libast/sfio/*.c
......@@ -59,4 +65,4 @@ do-install:
do-test:
cd ${WRKSRC}/src/cmd/ksh93/tests/ && ${SETENV} SHELL=${WRKSRC}/bin/ksh ${WRKSRC}/bin/ksh shtests
.include <bsd.port.mk>
.include <bsd.port.post.mk>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment