diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2016-03-21 17:59:34 +0000 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2016-03-21 17:59:34 +0000 |
commit | 75b28cf3a31257348d03d5028fce07700e4b82bc (patch) | |
tree | e7d932b40acbbb38db94b9d0157e177a45bd9ee5 | |
parent | a94a465a49d6f6b36eaeb10e20494b213dbaf5d4 (diff) | |
download | FreeBSD-ports-75b28cf3a31257348d03d5028fce07700e4b82bc.zip FreeBSD-ports-75b28cf3a31257348d03d5028fce07700e4b82bc.tar.gz |
- Fix build on 11-CURRENT
-rw-r--r-- | shells/ksh93/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/shells/ksh93/Makefile b/shells/ksh93/Makefile index a61f6c5..86a25c5 100644 --- a/shells/ksh93/Makefile +++ b/shells/ksh93/Makefile @@ -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> |