Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2018 16:33:45 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461155 - head/devel/ahven
Message-ID:  <201802071633.w17GXjCI088123@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Feb  7 16:33:45 2018
New Revision: 461155
URL: https://svnweb.freebsd.org/changeset/ports/461155

Log:
  - Fix build with python3
  
  Approved by:	portmgr blanket

Modified:
  head/devel/ahven/Makefile

Modified: head/devel/ahven/Makefile
==============================================================================
--- head/devel/ahven/Makefile	Wed Feb  7 16:33:14 2018	(r461154)
+++ head/devel/ahven/Makefile	Wed Feb  7 16:33:45 2018	(r461155)
@@ -23,9 +23,12 @@ NO_OPTIONS_SORT=	yes
 TRACE_DESC=		Build with GNAT-specific symbolic tracing functionality
 
 DOCS_USES=		python:2.7,build
-DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx \
-			${PYTHON_PKGNAMEPREFIX}sphinxcontrib-adadomain>0:textproc/py-sphinxcontrib-adadomain
+DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}sphinxcontrib-adadomain>0:textproc/py-sphinxcontrib-adadomain@${PY_FLAVOR}
 TRACE_EXTRA_PATCHES=	${FILESDIR}/extra-src_ahven-framework.adb
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|sphinx-build|&-${PYTHON_VER}|' ${WRKSRC}/doc/manual/en/Makefile
 
 do-build:
 	(cd ${WRKSRC} && ${MKDIR} lib objects)



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