diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-09-19 06:38:32 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2000-09-19 06:38:32 +0000 |
commit | cc2fb1f48f0dca672103d9b5812a30223dc64ab8 (patch) | |
tree | 05e54e65a1cb05ccec30fa6f020a88d47747bf3f /databases/py-MySQL | |
parent | Update to 1.2.4. (diff) |
Use USE_PYTHON.
Notes
Notes:
svn path=/head/; revision=32835
Diffstat (limited to 'databases/py-MySQL')
-rw-r--r-- | databases/py-MySQL/Makefile | 5 | ||||
-rw-r--r-- | databases/py-MySQL/pkg-plist | 2 |
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 |