diff options
author | drochner <drochner@pkgsrc.org> | 2002-01-22 18:50:17 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2002-01-22 18:50:17 +0000 |
commit | 898fbfa27bbecc60c4f95f2e1cd1516960c5ad91 (patch) | |
tree | 30da28b7d7ccca3c466a19354353fec9cee12668 /databases | |
parent | f85bca23c322cba83beac2db5ad03a5165d7623a (diff) | |
download | pkgsrc-898fbfa27bbecc60c4f95f2e1cd1516960c5ad91.tar.gz |
use buildlink file for python and py-mysqldb, but keep tied to
Python-2.0 due to Zope
Diffstat (limited to 'databases')
-rw-r--r-- | databases/zope-mysql/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/databases/zope-mysql/Makefile b/databases/zope-mysql/Makefile index e72c3188074..e92dd4763fc 100644 --- a/databases/zope-mysql/Makefile +++ b/databases/zope-mysql/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2001/11/29 01:12:28 hubertf Exp $ +# $NetBSD: Makefile,v 1.13 2002/01/22 18:50:17 drochner Exp $ # DISTNAME= ZMySQLDA-1.1.3-nonbin @@ -12,7 +12,6 @@ HOMEPAGE= http://www.zope.org/Members/MikeP/ZMySQLDA COMMENT= Zope Database Adaptor for MySQL DEPENDS+= zope-2.*:../../www/zope -DEPENDS+= py-mysqldb-0.1.3:../../databases/py-mysqldb WRKSRC= ${WRKDIR}/lib @@ -20,14 +19,15 @@ PLIST_SRC= ${WRKDIR}/.PLIST_SRC ZOPEDIR= ${PREFIX}/lib/zope DAPATH= lib/python/Products/ZMySQLDA +PYTHON_VERSIONS_ACCEPTED= 20 # XXX for now do-configure: (cd ${WRKDIR}/${DAPATH}; ${RM} -rf Makefile* *.pyc *.orig src Setup) do-build: - ${PREFIX}/bin/python ${PREFIX}/lib/python2.0/compileall.py \ + ${PYTHONBIN} ${PREFIX}/lib/python2.0/compileall.py \ ${WRKDIR}/${DAPATH} - ${PREFIX}/bin/python -O ${PREFIX}/lib/python2.0/compileall.py \ + ${PYTHONBIN} -O ${PREFIX}/lib/python2.0/compileall.py \ ${WRKDIR}/${DAPATH} do-install: @@ -37,4 +37,6 @@ do-install: (cd ${PREFIX}; ${FIND} lib/zope/${DAPATH} -type f -print >>${PLIST_SRC}) ${ECHO} "@dirrm lib/zope/${DAPATH}" >> ${PLIST_SRC} +.include "../../lang/python/application.buildlink.mk" +.include "../../databases/py-mysqldb/buildlink.mk" .include "../../mk/bsd.pkg.mk" |