svn commit: r411582 - head/shells/ksh93
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Mar 21 17:59:36 UTC 2016
Author: sunpoet
Date: Mon Mar 21 17:59:34 2016
New Revision: 411582
URL: https://svnweb.freebsd.org/changeset/ports/411582
Log:
- Fix build on 11-CURRENT
Modified:
head/shells/ksh93/Makefile
Modified: head/shells/ksh93/Makefile
==============================================================================
--- head/shells/ksh93/Makefile Mon Mar 21 17:59:30 2016 (r411581)
+++ head/shells/ksh93/Makefile Mon Mar 21 17:59:34 2016 (r411582)
@@ -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>
More information about the svn-ports-all
mailing list