aboutsummaryrefslogtreecommitdiff
path: root/databases/tdb
diff options
context:
space:
mode:
Diffstat (limited to 'databases/tdb')
-rw-r--r--databases/tdb/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/tdb/Makefile b/databases/tdb/Makefile
index 1f9ed158f52f..a58bf916bc13 100644
--- a/databases/tdb/Makefile
+++ b/databases/tdb/Makefile
@@ -27,7 +27,8 @@ MAKE_JOBS_SAFE= yes
PKGCONFIGDIR?= ${PREFIX}/libdata/pkgconfig
PLIST_SUB+= PKGCONFIGDIR=${PKGCONFIGDIR:S;${PREFIX}/;;}
-OPTIONS= PYTHON "Python bindings" on
+OPTIONS_DEFINE= PYTHON
+OPTIONS_DEFAULT= PYTHON
.include <bsd.port.options.mk>
@@ -58,7 +59,7 @@ _MAKE_JOBS= --jobs=${MAKE_JOBS_NUMBER}
.endif
.endif
-.if defined(WITH_PYTHON)
+.if ${PORT_OPTIONS:MPYTHON}
USE_PYTHON_RUN= yes
PLIST_FILES+= %%PYTHON_SITELIBDIR%%/tdb.so
PLIST_DIRSTRY+= %%PYTHON_SITELIBDIR%% \