mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
- Fix build on 11-CURRENT
This commit is contained in:
parent
9be55c8ffd
commit
dfebead197
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=411582
@ -36,6 +36,13 @@ KSHVERSION= 2012-08-01
|
||||
|
||||
STATIC_MAKE_ENV= LDFLAGS+=-static
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
.if ${OSVERSION} >= 1100093
|
||||
@${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' ${WRKSRC}/src/lib/libast/include/sfio*.h ${WRKSRC}/src/lib/libast/sfio/*.c
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC}/ && ${SETENV} -i ${MAKE_ENV} ${SH} bin/package flat make
|
||||
|
||||
@ -48,4 +55,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>
|
||||
|
Loading…
Reference in New Issue
Block a user