pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/trac Be explicit about what to include for what Py...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/16d988680045
branches:  trunk
changeset: 547438:16d988680045
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Sep 16 19:29:59 2008 +0000

description:
Be explicit about what to include for what Python version as the older
version didn't really work.

diffstat:

 www/trac/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 8e6ec323c7c6 -r 16d988680045 www/trac/Makefile
--- a/www/trac/Makefile Tue Sep 16 18:21:30 2008 +0000
+++ b/www/trac/Makefile Tue Sep 16 19:29:59 2008 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index