be sure to use the correctly named sphinx-build. in case of the python3

flavor it tried to use sphinx-build instead of sphinx-build-3.

spotted by naddy@
This commit is contained in:
jasper 2016-06-01 14:28:34 +00:00
parent ac464e8251
commit d554090a7e
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.8 2016/05/31 13:43:15 jasper Exp $
# $OpenBSD: Makefile,v 1.9 2016/06/01 14:28:34 jasper Exp $
COMMENT= simple integration of Flask and WTForms
@ -29,7 +29,8 @@ TEST_DEPENDS= devel/py-nose
USE_GMAKE= Yes
post-build:
@cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html
@cd ${WRKSRC}/docs && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} SPHINXBUILD=sphinx-build${MODPY_BIN_SUFFIX} html
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${MODPY_PY_PREFIX}flask-wtf/

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2016/05/31 13:43:15 jasper Exp $
# $OpenBSD: Makefile,v 1.8 2016/06/01 14:28:34 jasper Exp $
COMMENT= flexible forms validation and rendering library
@ -30,7 +30,8 @@ MODPY_SETUPTOOLS= Yes
USE_GMAKE= Yes
post-build:
@cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} html
@cd ${WRKSRC}/docs && \
${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} SPHINXBUILD=sphinx-build${MODPY_BIN_SUFFIX} html
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${MODPY_PY_PREFIX}wtforms