pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/py-mimelib Use a conditional that is safe for scan...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/037619711e65
branches:  trunk
changeset: 541241:037619711e65
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Apr 17 12:22:00 2008 +0000

description:
Use a conditional that is safe for scanning even if all versions
supported are disabled.

diffstat:

 net/py-mimelib/Makefile |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (20 lines):

diff -r 6d39694714f3 -r 037619711e65 net/py-mimelib/Makefile
--- a/net/py-mimelib/Makefile   Thu Apr 17 08:44:51 2008 +0000
+++ b/net/py-mimelib/Makefile   Thu Apr 17 12:22:00 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2008/04/12 22:43:08 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2008/04/17 12:22:00 joerg Exp $
 #
 
 DISTNAME=      email-2.5
@@ -20,9 +20,7 @@
 
 # _compat22.py is not byte-compiled if built with 2.1(-)
 PLIST_VARS+=   compat22
-.if !empty(PYPKGPREFIX:Mpy21*)
-# nothing
-.else
+.if ${_PYTHON_VERSION} != "21"
 PLIST.compat22=        yes
 .endif
 



Home | Main Index | Thread Index | Old Index