Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2019 18:27:49 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r489601 - head/science/code_saturne
Message-ID:  <201901071827.x07IRnnl077815@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Jan  7 18:27:48 2019
New Revision: 489601
URL: https://svnweb.freebsd.org/changeset/ports/489601

Log:
  Fix build with DEFAULT_OPTIONS=python=3.x
  
  PR:		234633

Modified:
  head/science/code_saturne/Makefile

Modified: head/science/code_saturne/Makefile
==============================================================================
--- head/science/code_saturne/Makefile	Mon Jan  7 18:15:31 2019	(r489600)
+++ head/science/code_saturne/Makefile	Mon Jan  7 18:27:48 2019	(r489601)
@@ -31,7 +31,9 @@ USE_PYQT=	core gui sip widgets xml_build
 CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
-BINARY_ALIAS=	python=${PYTHON_CMD}
+BINARY_ALIAS=	python=${PYTHON_CMD} \
+		pyrcc5=pyrcc5-${PYTHON_VER} \
+		pyuic5=pyuic5-${PYTHON_VER}
 
 OPTIONS_DEFINE=		DOCS EXAMPLES ATLAS BATCH MPI
 OPTIONS_DEFAULT=	BATCH MPI METIS
@@ -72,7 +74,8 @@ USE_TEX=	tex:build
 BUILD_DEPENDS+=	fig2dev:print/transfig		\
 		doxygen:devel/doxygen		\
 		dot:graphics/graphviz		\
-		sphinx-build:textproc/py-sphinx@${PY_FLAVOR}
+		sphinx-build-${PYTHON_VER}:textproc/py-sphinx@${PY_FLAVOR}
+BINARY_ALIAS+=	sphinx-build=sphinx-build-${PYTHON_VER}
 ALL_TARGET=	all pdf
 DOCS=		AUTHORS ChangeLog README
 .endif



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