summaryrefslogtreecommitdiff
path: root/www/trac
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-09-16 19:29:59 +0000
committerjoerg <joerg@pkgsrc.org>2008-09-16 19:29:59 +0000
commit70f21d3663309904f0516003ea625040cf6fba59 (patch)
treeb401e8f4dde749010852111d9acc72c90aaf167b /www/trac
parenta7573cf2f2571608402ad8688d7f0ba7dddf29f1 (diff)
downloadpkgsrc-70f21d3663309904f0516003ea625040cf6fba59.tar.gz
Be explicit about what to include for what Python version as the older
version didn't really work.
Diffstat (limited to 'www/trac')
-rw-r--r--www/trac/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/www/trac/Makefile b/www/trac/Makefile
index 86ab2b36ddb..b2eaf2d8f0e 100644
--- a/www/trac/Makefile
+++ b/www/trac/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2008/09/15 20:57:55 abs Exp $
+# $NetBSD: Makefile,v 1.39 2008/09/16 19:29:59 joerg Exp $
#
DISTNAME= Trac-0.11.1
@@ -30,7 +30,8 @@ PYTHON_PATCH_SCRIPTS= cgi-bin/trac.* contrib/*.py contrib/*-hook
.include "../../lang/python/application.mk"
.if !empty(PKG_OPTIONS:Msqlite)
-.if !empty(PYPKGPREFIX:M2*[1234])
+.if defined(PYPACKAGE) && \
+ (${PYPACKAGE} == "python23" || ${PYPACKAGE} == "python24")
DEPENDS+= ${PYPKGPREFIX}-sqlite2>=2:../../databases/py-sqlite2
.else
DEPENDS+= ${PYPKGPREFIX}-sqlite3>=0:../../databases/py-sqlite3