1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Unbreak with python2.1.

This commit is contained in:
Maxim Sobolev 2001-05-03 08:27:20 +00:00
parent 966ad89d0e
commit 386199ecf4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=42198

View File

@ -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>