svn commit: r498037 - head/shells/ksh93-devel
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri Apr 5 23:23:53 UTC 2019
Author: amdmi3
Date: Fri Apr 5 23:23:52 2019
New Revision: 498037
URL: https://svnweb.freebsd.org/changeset/ports/498037
Log:
- Add missing python build-time dependency
- Fix python version handling, fixing build with python 3.7+
PR: 2337700
Approved by: portmgr blanket
Modified:
head/shells/ksh93-devel/Makefile
Modified: head/shells/ksh93-devel/Makefile
==============================================================================
--- head/shells/ksh93-devel/Makefile Fri Apr 5 23:22:32 2019 (r498036)
+++ head/shells/ksh93-devel/Makefile Fri Apr 5 23:23:52 2019 (r498037)
@@ -10,7 +10,7 @@ COMMENT= Development branch of AT&T KornShell 93
LICENSE= EPL
-USES= compiler:c11 meson ninja
+USES= compiler:c11 meson ninja python:build
HASH= 8cc0aff
AST_COMMIT_DATE= 2019.04.04
@@ -43,6 +43,7 @@ KSH93_PLIST_SUB= 93="93"
.include <bsd.port.options.mk>
post-patch:
+ @${REINPLACE_CMD} -e '/for name in/ s|python.*|${PYTHON_CMD}|g' ${WRKSRC}/scripts/python.sh
@${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' ${WRKSRC}/src/lib/libast/include/sfio*.h ${WRKSRC}/src/lib/libast/sfio/*.c
.if ${PORT_OPTIONS:MKSH93}
@${MV} ${WRKSRC}/src/cmd/ksh93/ksh.1 ${WRKSRC}/src/cmd/ksh93/ksh93.1
More information about the svn-ports-all
mailing list