summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-07-11 18:10:55 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-07-11 18:10:55 +0000
commitea87bb63253478f9e593decb9e7a0cb3bcb83bf0 (patch)
treef6d9b224f9c8fe054d8933b2143a00418e0d0b02
parentUpdate to 6.0.0 (diff)
Add MYSQL and POSTGRESQL options
Notes
Notes: svn path=/head/; revision=542024
-rw-r--r--security/py-python3-openid/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/security/py-python3-openid/Makefile b/security/py-python3-openid/Makefile
index d16770c65dd1..aff81b3a4017 100644
--- a/security/py-python3-openid/Makefile
+++ b/security/py-python3-openid/Makefile
@@ -20,4 +20,11 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+OPTIONS_DEFINE= MYSQL POSTGRESQL
+MYSQL_DESC= MySQL support
+POSTGRESQL_DESC=PostgreSQL support
+
+MYSQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mysql-connector-python>=0:databases/py-mysql-connector-python@${PY_FLAVOR}
+POSTGRESQL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=0:databases/py-psycopg2@${PY_FLAVOR}
+
.include <bsd.port.mk>