diff options
Diffstat (limited to 'databases')
-rw-r--r-- | databases/py-sqlite2/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/py-sqlite2/Makefile b/databases/py-sqlite2/Makefile index dff4d79a912..ccfc8883ea4 100644 --- a/databases/py-sqlite2/Makefile +++ b/databases/py-sqlite2/Makefile @@ -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 |