aboutsummaryrefslogtreecommitdiff
path: root/databases/tdb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/tdb/Makefile')
-rw-r--r--databases/tdb/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/tdb/Makefile b/databases/tdb/Makefile
index 8532078ad72a..b20e36c7201e 100644
--- a/databases/tdb/Makefile
+++ b/databases/tdb/Makefile
@@ -16,7 +16,6 @@ LICENSE= GPLv3
CONFLICTS= *samba3[0-4]-3.*
USES= compiler pkgconfig
-USE_PYTHON_BUILD= 2
USE_LDCONFIG= yes
WAF_TOOL= buildtools/bin/waf
CONFIGURE_LOG= bin/config.log
@@ -37,8 +36,9 @@ MANPAGES_DESC= Build and install manpages (requires textproc/docbook-xsl)
.if defined(NO_PYTHON)
CONFIGURE_ARGS+= --disable-python
+USES+= python:2,build
.else
-USE_PYTHON_RUN= yes
+USES+= python:2
PLIST_FILES+= %%PYTHON_SITELIBDIR%%/tdb.so
.endif