From dfabd45cf5cf98db06bca7c60f234edec57f8b72 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 18 Mar 2015 15:04:35 +0000 Subject: Fix build with versioned spinx. --- sysutils/salt-docs/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sysutils') diff --git a/sysutils/salt-docs/Makefile b/sysutils/salt-docs/Makefile index 39b9a37ec6a..6af375e6971 100644 --- a/sysutils/salt-docs/Makefile +++ b/sysutils/salt-docs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2014/05/09 07:37:20 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2015/03/18 15:04:35 joerg Exp $ DISTNAME= salt-0.10.5 PKGNAME= ${DISTNAME:S/-/-docs-/} @@ -14,6 +14,8 @@ NO_CONFIGURE= yes BUILD_DIRS= doc BUILD_TARGET= html +MAKE_FLAGS+= SPHINXBUILD=${PREFIX}/bin/sphinx-build${PYVERSSUFFIX} + HTMLDIR= share/doc/salt PLIST_SRC= ${WRKDIR}/.PLIST_SRC @@ -30,6 +32,6 @@ PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 0.10.5 # The upstream salt project does not say what version of sphinx is required. .include "../../lang/python/pyversion.mk" -BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx +BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx>=1.2.3nb1*:../../textproc/py-sphinx .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3