1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Add the optional Python support as a true OPTION.

PR:		137366
Submitted by:	"Carlos A. M. dos Santos" <unixmania@gmail.com> (based on)
This commit is contained in:
Joe Marcus Clarke 2009-08-08 21:10:17 +00:00
parent c48a058b9a
commit 903cef665e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=239180

View File

@ -37,6 +37,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
PLIST_SUB= XMLCATALOG="${LOCALBASE}/bin/xmlcatalog" \
CATALOG_PORTS_XML="${LOCALBASE}/share/xml/catalog.ports"
OPTIONS= PYTHON "Use Python" on
.include <bsd.port.options.mk>
.if !defined(WITHOUT_PYTHON)
BUILD_DEPENDS+= ${PYEXPAT}
RUN_DEPENDS+= ${PYEXPAT}