pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python Fix PYTHON_VERSION_REQG regex for non-NetB...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e30e7b22a535
branches:  trunk
changeset: 464284:e30e7b22a535
user:      recht <recht%pkgsrc.org@localhost>
date:      Fri Dec 05 19:24:31 2003 +0000

description:
Fix PYTHON_VERSION_REQG regex for non-NetBSD native make (read for bmake).

diffstat:

 lang/python/extension.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r b530e3eccbdf -r e30e7b22a535 lang/python/extension.mk
--- a/lang/python/extension.mk  Fri Dec 05 19:00:25 2003 +0000
+++ b/lang/python/extension.mk  Fri Dec 05 19:24:31 2003 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: extension.mk,v 1.9 2003/12/03 12:26:35 darcy Exp $
+# $NetBSD: extension.mk,v 1.10 2003/12/05 19:24:31 recht Exp $
 
 # derive a python version from the package name if possible
 # optionally handled quoted package names
 .if defined(PKGNAME_REQD)
-PYTHON_VERSION_REQD?= ${PKGNAME_REQD:C/^\'?py([^-]*)-.*/\1/}
+PYTHON_VERSION_REQD?= ${PKGNAME_REQD:C/^[^-]*py([^-]*)-.*/\1/}
 .endif
 
 .include "../../lang/python/pyversion.mk"



Home | Main Index | Thread Index | Old Index