diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-09-19 14:38:32 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-09-19 14:38:32 +0800 |
commit | 04ebe6572fb9100efe8c721d3cc1d889d5971bc3 (patch) | |
tree | cc3854a9a13294df7de2a6f516d093ca4c20d557 /databases/py-MySQL | |
parent | ce99d15f187045473b05be43f514cc768119203c (diff) | |
download | freebsd-ports-gnome-04ebe6572fb9100efe8c721d3cc1d889d5971bc3.tar.gz freebsd-ports-gnome-04ebe6572fb9100efe8c721d3cc1d889d5971bc3.tar.zst freebsd-ports-gnome-04ebe6572fb9100efe8c721d3cc1d889d5971bc3.zip |
Use USE_PYTHON.
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 |