summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-12-27 15:52:11 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-12-27 15:52:11 +0000
commitefb57e632dfb1d961cf145a479f7e38b8e9bf30f (patch)
treedf416af25fe0171ce400a68b338673c815547628 /databases
parentUpdate to 0.05 (diff)
- new version of py-MySQLdb installs only the .egg 'zipped' so mysql.so
is no longer present to test for. Approved by: itectu (portmgr, via irc)
Diffstat (limited to 'databases')
-rw-r--r--databases/mydbf2mysql/Makefile2
-rw-r--r--databases/py-sqlobject/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/databases/mydbf2mysql/Makefile b/databases/mydbf2mysql/Makefile
index 9fec8468c9d0..8af74f75ab9b 100644
--- a/databases/mydbf2mysql/Makefile
+++ b/databases/mydbf2mysql/Makefile
@@ -14,7 +14,7 @@ DISTNAME= MyDBF2MySQL-${PORTVERSION}
MAINTAINER= andrey.polyakov@unix.net
COMMENT= Flexible tool for DBF import into MySQL
-RUN_DEPENDS+= py26-MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=1.2.2:${PORTSDIR}/databases/py-MySQLdb
RUN_DEPENDS+= ydbf=0.0.1:${PORTSDIR}/devel/py-ydbf
USE_PYTHON= 2.6+
diff --git a/databases/py-sqlobject/Makefile b/databases/py-sqlobject/Makefile
index 14f4340c9ce3..ba0491710513 100644
--- a/databases/py-sqlobject/Makefile
+++ b/databases/py-sqlobject/Makefile
@@ -36,7 +36,7 @@ OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
.include <bsd.port.pre.mk>
.if defined(WITH_MYSQL)
-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/MySQLdb/__init__.py:${PORTSDIR}/databases/py-MySQLdb
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=0:${PORTSDIR}/databases/py-MySQLdb
.endif
.if defined(WITH_PGSQL)