aboutsummaryrefslogtreecommitdiffstats
path: root/www/session2
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-05-14 04:11:10 +0800
committerrm <rm@FreeBSD.org>2012-05-14 04:11:10 +0800
commit682ea7994818d23954a3ae69b59de7f50683f211 (patch)
tree2adfd72fbcdcd4db231cc8ebd4d8dd27b00e4889 /www/session2
parentd36a979ab80e0ddc56e1420a7476fd17b6053b16 (diff)
downloadfreebsd-ports-gnome-682ea7994818d23954a3ae69b59de7f50683f211.tar.gz
freebsd-ports-gnome-682ea7994818d23954a3ae69b59de7f50683f211.tar.zst
freebsd-ports-gnome-682ea7994818d23954a3ae69b59de7f50683f211.zip
- strict python version to 2.x only
- convert to using PYTHON_PKGNAMEPREFIX in dependency entry
Diffstat (limited to 'www/session2')
-rw-r--r--www/session2/Makefile4
-rw-r--r--www/session2/pkg-descr2
2 files changed, 3 insertions, 3 deletions
diff --git a/www/session2/Makefile b/www/session2/Makefile
index 90c88b456928..2b2f66e4d9b7 100644
--- a/www/session2/Makefile
+++ b/www/session2/Makefile
@@ -16,7 +16,7 @@ DISTNAME= session2-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A quixote session manager with persistence support
-USE_PYTHON= yes
+USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGVERSION= 0.6
@@ -30,7 +30,7 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=0:${PORTSDIR}/databases/py-MySQLdb
.endif
.if defined(WITH_POSTGRESQL)
-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psycopgmodule.so:${PORTSDIR}/databases/py-psycopg
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psycopg>0:${PORTSDIR}/databases/py-psycopg
.endif
post-install:
diff --git a/www/session2/pkg-descr b/www/session2/pkg-descr
index 85be1f11106d..6f0614a89d4b 100644
--- a/www/session2/pkg-descr
+++ b/www/session2/pkg-descr
@@ -2,4 +2,4 @@ The session2 package provides simple session handling for Quixote 2.0,
together with persistence mechanisms that can store sessions in a
variety of backends, including MySQL and PostgreSQL databases.
-WWW: http://quixote.idyll.org/session2/
+WWW: http://quixote.idyll.org/session2/