summaryrefslogtreecommitdiff
path: root/databases/py-MySQL/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/py-MySQL/Makefile')
-rw-r--r--databases/py-MySQL/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/databases/py-MySQL/Makefile b/databases/py-MySQL/Makefile
index 92090c2c3719..126376e6439c 100644
--- a/databases/py-MySQL/Makefile
+++ b/databases/py-MySQL/Makefile
@@ -13,15 +13,14 @@ DISTNAME= MySQLmodule-${PORTVERSION}
MAINTAINER= dr@domix.de
-BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python15
LIB_DEPENDS= mysqlclient.6:${PORTSDIR}/databases/mysql322-client
-RUN_DEPENDS= python1.5:${PORTSDIR}/lang/python15
+USE_PYTHON= yes
ALL_TARGET= MySQLmodule.so
pre-configure:
${CP} ${FILESDIR}/Setup ${WRKSRC}/Setup
- ${LN} -s ${LOCALBASE}/lib/python1.5/config/Makefile.pre.in ${WRKSRC}/
+ ${LN} -s ${LOCALBASE}/lib/${PYTHON_VERSION}/config/Makefile.pre.in ${WRKSRC}/
do-configure:
cd ${WRKSRC} && ${MAKE} -f Makefile.pre.in boot