summaryrefslogtreecommitdiff
path: root/databases/py-mysqldb
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2002-10-10 12:07:48 +0000
committerwiz <wiz@pkgsrc.org>2002-10-10 12:07:48 +0000
commite7fe6c1ff1cd72dfccb093315274b12718b71383 (patch)
tree4bca988fae606c9bcd25252cf382aa023af3b728 /databases/py-mysqldb
parent4d053d029a111dbc3a3341d5373d3e3e5ae5781e (diff)
downloadpkgsrc-e7fe6c1ff1cd72dfccb093315274b12718b71383.tar.gz
buildlink1 -> buildlink2.
Diffstat (limited to 'databases/py-mysqldb')
-rw-r--r--databases/py-mysqldb/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/databases/py-mysqldb/Makefile b/databases/py-mysqldb/Makefile
index 5286c2c23e7..39898d7e5b6 100644
--- a/databases/py-mysqldb/Makefile
+++ b/databases/py-mysqldb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2002/09/21 23:46:47 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2002/10/10 12:07:48 wiz Exp $
DISTNAME= MySQL-python-0.9.1
PKGNAME= ${PYPKGPREFIX}-mysqldb-0.9.1
@@ -9,15 +9,16 @@ MAINTAINER= tsarna@netbsd.org
HOMEPAGE= http://sourceforge.net/projects/mysql-python
COMMENT= MySQL interface for Python
+USE_BUILDLINK2= yes
PYDISTUTILSPKG= yes
PY_PATCHPLIST= yes
post-patch:
- ${SED} -e "s|@MYSQLPREFIX@|${BUILDLINK_DIR}|" \
+ ${SED} -e "s|@MYSQLPREFIX@|${BUILDLINK_PREFIX.mysql-client}|" \
-e "s|@MYSQLRTPREFIX@|${BUILDLINK_PREFIX.mysql-client}|" \
<${WRKSRC}/setup.py >${WRKSRC}/setup.py.tmp
${MV} ${WRKSRC}/setup.py.tmp ${WRKSRC}/setup.py
-.include "../../databases/mysql-client/buildlink.mk"
+.include "../../databases/mysql-client/buildlink2.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"