science/lm: USES=python only when PYTHON=ON
This commit is contained in:
parent
526e658f29
commit
2104ac7ca6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479337
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,7 @@ LIB_DEPENDS= libhdf5.so:science/hdf5 \
|
|||
libprotobuf.so:devel/protobuf \
|
||||
libsz.so:science/szip
|
||||
|
||||
USES= gettext-runtime gmake localbase python
|
||||
USES= gettext-runtime gmake
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
||||
CXXFLAGS+= -DLINUX
|
||||
|
@ -35,6 +35,7 @@ MPI_VARS= XUSE_MPI=1
|
|||
MPI_VARS_OFF= XUSE_MPI=0
|
||||
MPI_LIB_DEPENDS= libmpich.so:net/mpich2
|
||||
|
||||
PYTHON_USES= python
|
||||
PYTHON_VARS= XUSE_PYTHON=1
|
||||
PYTHON_VARS_OFF= XUSE_PYTHON=0
|
||||
PYTHON_CXXFLAGS= -I${PYTHON_SITELIBDIR}/numpy/core/include
|
||||
|
|
Loading…
Reference in a new issue