summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-03-21 17:59:34 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2016-03-21 17:59:34 +0000
commitdfebead1977111b2fca8aed4da087ae2f587f28e (patch)
treee7d932b40acbbb38db94b9d0157e177a45bd9ee5 /shells
parent9be55c8ffda70540556fee1165b96ee41ba672c3 (diff)
Notes
Diffstat (limited to 'shells')
-rw-r--r--shells/ksh93/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/shells/ksh93/Makefile b/shells/ksh93/Makefile
index a61f6c58cd1b..86a25c56773b 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>