pkgsrc-wip/libgtask/options.mk

22 lines
537 B
Makefile
Raw Normal View History

# $NetBSD: options.mk,v 1.3 2014/01/25 10:38:14 thomasklausner Exp $
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)
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-gtk2
. 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