aboutsummaryrefslogtreecommitdiff
path: root/www/roundup
diff options
context:
space:
mode:
authorDryice Dong Liu <dryice@FreeBSD.org>2008-03-17 12:45:13 +0000
committerDryice Dong Liu <dryice@FreeBSD.org>2008-03-17 12:45:13 +0000
commit3f305bfe603b83da4fbf095ac981bf384b3230e5 (patch)
tree235596eccd6543cf2d32e3e2e9ebec1a24b9f87f /www/roundup
parent00f3898de137b0b4158bf49a1a83bc790522b5c2 (diff)
Notes
Diffstat (limited to 'www/roundup')
-rw-r--r--www/roundup/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/roundup/Makefile b/www/roundup/Makefile
index 3567827d2e59..9ca002e4fd03 100644
--- a/www/roundup/Makefile
+++ b/www/roundup/Makefile
@@ -26,7 +26,11 @@ OPTIONS+= MYSQL "Support mysql as backend" off
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_SQLITE)
-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/sqlite/__init__.py:${PORTSDIR}/databases/py-PySQLite11
+.if ${PYTHON_REL} >= 250
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/_sqlite3.so:${PORTSDIR}/databases/py-sqlite3
+.else
+RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23
+.endif
.endif
.if defined(WITH_PGSQL)