2014-01-25 11:38:08 +01:00
|
|
|
# $NetBSD: options.mk,v 1.3 2014/01/25 10:38:14 thomasklausner Exp $
|
2009-05-31 18:40:46 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gtask
|
|
|
|
|
|
|
|
PKG_SUPPORTED_OPTIONS= python
|
|
|
|
PKG_SUGGESTED_OPTIONS= python
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
###
|
|
|
|
### Enable python support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mpython)
|
2014-01-25 11:38:08 +01:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-gtk2
|
2009-05-31 18:40:46 +02:00
|
|
|
. include "../../lang/python/extension.mk"
|
|
|
|
PLIST_SUBST+= PYSITELIB=${PYSITELIB}
|
|
|
|
. include "../../devel/py-gobject/buildlink3.mk"
|
|
|
|
. include "../../x11/py-gtk2/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-python
|
|
|
|
.endif
|