svn commit: r489601 - head/science/code_saturne

Antoine Brodin antoine at FreeBSD.org
Mon Jan 7 18:27:50 UTC 2019


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


More information about the svn-ports-all mailing list