Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2019 23:23:52 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498037 - head/shells/ksh93-devel
Message-ID:  <201904052323.x35NNqZm020230@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904052323.x35NNqZm020230>