aboutsummaryrefslogtreecommitdiff
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
parent966ad89d0ee3bbbe047663f04270813f29cee820 (diff)
downloadports-386199ecf4c0a080dff93811ef8e2c4d71a00289.tar.gz
ports-386199ecf4c0a080dff93811ef8e2c4d71a00289.zip
Notes
-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>