svn commit: r461848 - head/devel/drpython

Antoine Brodin antoine at FreeBSD.org
Wed Feb 14 23:33:04 UTC 2018


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)
 


More information about the svn-ports-head mailing list