Don't force python 2.7 build dependencies when building without DOCS option
PR: 246875 Submitted by: VVD <vvd@unislabs.com> Approved by: Shane <FreeBSD@ShaneWare.Biz> (maintainer)
This commit is contained in:
@@ -70,7 +70,11 @@ PLIST= ${PKGDIR}/pkg-plist-pyglue
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR}
|
||||
LIB_DEPENDS= libtinyxml.so:textproc/tinyxml \
|
||||
libyaml-cpp03.so:devel/yaml-cpp03
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
USES+= python:2.7,build
|
||||
.else
|
||||
USES+= python:build
|
||||
.endif
|
||||
USE_LDCONFIG= yes
|
||||
CMAKE_ON+= OCIO_BUILD_SHARED OCIO_BUILD_PYGLUE
|
||||
CMAKE_OFF+= OCIO_BUILD_APPS
|
||||
|
||||
Reference in New Issue
Block a user