mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
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:
parent
5c275142f7
commit
3cc6898fe9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=540965
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user