summaryrefslogtreecommitdiff
path: root/databases/py-MySQL
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-05-03 08:27:20 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-05-03 08:27:20 +0000
commit386199ecf4c0a080dff93811ef8e2c4d71a00289 (patch)
treeae6d767c6eb5c6d7d99fb82bbacdcade9811f962 /databases/py-MySQL
parentUpgrade to 0.17 (diff)
Unbreak with python2.1.
Diffstat (limited to 'databases/py-MySQL')
-rw-r--r--databases/py-MySQL/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/py-MySQL/Makefile b/databases/py-MySQL/Makefile
index bd3957a46c59..07f8c04f9971 100644
--- a/databases/py-MySQL/Makefile
+++ b/databases/py-MySQL/Makefile
@@ -16,7 +16,12 @@ MAINTAINER= dr@domix.de
LIB_DEPENDS= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
USE_PYTHON= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_VERSION} != "python2.1"
ALL_TARGET= MySQLmodule.so
+.endif
pre-configure:
${CP} ${FILESDIR}/Setup ${WRKSRC}/Setup
@@ -34,4 +39,4 @@ post-install:
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>