Be slightly more defensive in case an unsupported Python version is
requested.
This commit is contained in:
parent
efd1e4eab0
commit
0fda7b3dd9
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.14 2008/09/10 10:47:31 joerg Exp $
|
||||
# $NetBSD: Makefile,v 1.15 2008/09/10 11:33:01 joerg Exp $
|
||||
|
||||
DISTNAME= pysqlite-2.5.0
|
||||
PKGNAME= ${PYPKGPREFIX}-sqlite2-2.5.0
|
||||
|
@ -16,7 +16,8 @@ PYDISTUTILSPKG= yes
|
|||
|
||||
.include "../../lang/python/extension.mk"
|
||||
|
||||
.if ${PYPACKAGE} == "python23" || ${PYPACKAGE} == "python24"
|
||||
.if defined(PYPACKAGE) && \
|
||||
(${PYPACKAGE} == "python23" || ${PYPACKAGE} == "python24")
|
||||
pre-configure:
|
||||
rm ${WRKSRC}/pysqlite2/test/py25tests.py
|
||||
.else
|
||||
|
|
Loading…
Reference in a new issue