Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Feb 2019 10:21:56 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493036 - head/devel/py-pyinstaller
Message-ID:  <201902161021.x1GALuPg078514@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Sat Feb 16 10:21:56 2019
New Revision: 493036
URL: https://svnweb.freebsd.org/changeset/ports/493036

Log:
  Fix build with DEFAULT_VERSIONS=python=3.6
  
  PR:		234633

Modified:
  head/devel/py-pyinstaller/Makefile

Modified: head/devel/py-pyinstaller/Makefile
==============================================================================
--- head/devel/py-pyinstaller/Makefile	Sat Feb 16 10:09:48 2019	(r493035)
+++ head/devel/py-pyinstaller/Makefile	Sat Feb 16 10:21:56 2019	(r493036)
@@ -32,8 +32,10 @@ OPTIONS_SUB=		yes
 
 DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}dis3>0:devel/py-dis3@${PY_FLAVOR}
+DOCS_MAKE_ARGS=		SPHINXBUILD=sphinx-build-${PYTHON_VER}
 DOCS_USES=		gmake
 MANPAGES_BUILD_DEPENDS=	${DOCS_BUILD_DEPENDS}
+MANPAGES_MAKE_ARGS=	${DOCS_MAKE_ARGS}
 MANPAGES_USES=		gmake
 
 post-patch:
@@ -49,13 +51,13 @@ pre-build:
 
 do-install-MANPAGES-on:
 	@${MKDIR} ${STAGEDIR}${MANDIRS}/man1
-	( cd ${WRKSRC}/doc; ${GMAKE} man )
+	( cd ${WRKSRC}/doc; ${SETENV} ${MAKE_ENV} ${GMAKE} man ${MAKE_ARGS})
 	( cd ${WRKSRC}/doc/_build/man ; ${INSTALL_MAN} pyi-makespec.1 pyinstaller.1 \
 		${STAGEDIR}${MANDIRS}/man1 )
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKSRC}/doc ; ${GMAKE} text )
+	(cd ${WRKSRC}/doc ; ${SETENV} ${MAKE_ENV} ${GMAKE} text ${MAKE_ARGS})
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/_build/text/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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