pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/salt-docs Fix build with versioned spinx.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bd026af495f0
branches:  trunk
changeset: 648757:bd026af495f0
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Mar 18 15:04:35 2015 +0000

description:
Fix build with versioned spinx.

diffstat:

 sysutils/salt-docs/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 937d36ad8d36 -r bd026af495f0 sysutils/salt-docs/Makefile
--- a/sysutils/salt-docs/Makefile       Wed Mar 18 15:04:17 2015 +0000
+++ b/sysutils/salt-docs/Makefile       Wed Mar 18 15:04:35 2015 +0000
@@ -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 @@
 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 @@
 
 # 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"



Home | Main Index | Thread Index | Old Index