aboutsummaryrefslogtreecommitdiff
path: root/databases/py-MySQL
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-09-19 06:38:32 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-09-19 06:38:32 +0000
commitcc2fb1f48f0dca672103d9b5812a30223dc64ab8 (patch)
tree05e54e65a1cb05ccec30fa6f020a88d47747bf3f /databases/py-MySQL
parent9321374d4f85c0f3d823b39e84092fe8925b67da (diff)
downloadports-cc2fb1f48f0dca672103d9b5812a30223dc64ab8.tar.gz
ports-cc2fb1f48f0dca672103d9b5812a30223dc64ab8.zip
Notes
Diffstat (limited to 'databases/py-MySQL')
-rw-r--r--databases/py-MySQL/Makefile5
-rw-r--r--databases/py-MySQL/pkg-plist2
2 files changed, 3 insertions, 4 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
diff --git a/databases/py-MySQL/pkg-plist b/databases/py-MySQL/pkg-plist
index 1cb35e18a48a..c450839a60c7 100644
--- a/databases/py-MySQL/pkg-plist
+++ b/databases/py-MySQL/pkg-plist
@@ -1 +1 @@
-lib/python1.5/site-packages/MySQLmodule.so
+lib/%%PYTHON_VERSION%%/site-packages/MySQLmodule.so