Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2018 23:33:04 +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: r461848 - head/devel/drpython
Message-ID:  <201802142333.w1ENX4Cb002463@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Feb 14 23:33:03 2018
New Revision: 461848
URL: https://svnweb.freebsd.org/changeset/ports/461848

Log:
  Fix build with DEFAULT_VERSIONS=python=3.6

Modified:
  head/devel/drpython/Makefile

Modified: head/devel/drpython/Makefile
==============================================================================
--- head/devel/drpython/Makefile	Wed Feb 14 23:24:13 2018	(r461847)
+++ head/devel/drpython/Makefile	Wed Feb 14 23:33:03 2018	(r461848)
@@ -27,6 +27,7 @@ USES=		compiler:c++11-lib python:2.7 zip
 USE_PYTHON=	autoplist distutils
 USE_WX=		3.0+
 WX_COMPS=	python:lib
+MAKE_ARGS=	SPHINXBUILD=sphinx-build-${PYTHON_VER}
 
 PLIST_FILES=	bin/drpython
 
@@ -49,7 +50,7 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|%%PYTHON%%|${PYTHON_CMD}|' ${WRKSRC}/drpython.lin
 
 pre-build:
-	@(cd ${WRKSRC}/docsrc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} html)
+	@(cd ${WRKSRC}/docsrc && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} html)
 	@(cd ${WRKSRC}/docsrc/_build/html && ${CP} -f *.html *.js \
 		${WRKSRC}/documentation)
 



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