summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2003-12-05 19:24:31 +0000
committerrecht <recht@pkgsrc.org>2003-12-05 19:24:31 +0000
commitfa93808e41c836acfdb2ceefecc2707f818ef5bf (patch)
tree1442e74e29f228d2805dfc9b676c6adfcb192f40 /lang/python
parenta42da7f5d13dcb2a9f0afe33a81944f329f42d43 (diff)
downloadpkgsrc-fa93808e41c836acfdb2ceefecc2707f818ef5bf.tar.gz
Fix PYTHON_VERSION_REQG regex for non-NetBSD native make (read for bmake).
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/extension.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python/extension.mk b/lang/python/extension.mk
index f955a919275..97ab3dd9a68 100644
--- a/lang/python/extension.mk
+++ b/lang/python/extension.mk
@@ -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"