From 61abb8e7a9245d35bbc8af73db6d3e912990b77f Mon Sep 17 00:00:00 2001 From: obache Date: Fri, 14 Oct 2011 04:57:59 +0000 Subject: Fixes for trying to build with python24. --- databases/py-ckanclient/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/databases/py-ckanclient/Makefile b/databases/py-ckanclient/Makefile index d46bb06fbd4..91d6871aa24 100644 --- a/databases/py-ckanclient/Makefile +++ b/databases/py-ckanclient/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2011/10/14 04:47:34 obache Exp $ +# $NetBSD: Makefile,v 1.4 2011/10/14 04:57:59 obache Exp $ # DISTNAME= ckanclient-0.9 @@ -19,7 +19,7 @@ PYTHON_VERSIONS_INCOMPATIBLE= 24 .include "../../lang/python/pyversion.mk" -.if ${PYPKGPREFIX} == py25 +.if defined(PKPKGPREFIX) && !empty(PYPKGPREFIX:Mpy25) DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson .endif -- cgit v1.2.3