aboutsummaryrefslogtreecommitdiff
path: root/databases/tdb
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-03-21 17:43:46 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-03-21 17:43:46 +0000
commit14bc5a6c1142609693b3dcef0cd7e6a4b4755cb3 (patch)
tree761cd23e07e2b5224d73f540985d84eede599029 /databases/tdb
parent7ef963090c1ba3fae0e4ab7630e60ff49fe6a9f0 (diff)
downloadports-14bc5a6c1142609693b3dcef0cd7e6a4b4755cb3.tar.gz
ports-14bc5a6c1142609693b3dcef0cd7e6a4b4755cb3.zip
Convert to new options framework left unconverted ports in databases category
Notes
Notes: svn path=/head/; revision=314856
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%% \