diff options
author | drochner <drochner> | 2002-09-03 18:14:19 +0000 |
---|---|---|
committer | drochner <drochner> | 2002-09-03 18:14:19 +0000 |
commit | 9ec839cb7f3401c1253e9acda17782f2db1378dd (patch) | |
tree | cf5b6e2bdefa7bb30e1baebe5de67b969d1cbbd1 /lang | |
parent | 275c20b41bbb5f8fcede0c9f5aa31255b9360d35 (diff) | |
download | pkgsrc-9ec839cb7f3401c1253e9acda17782f2db1378dd.tar.gz |
make the automatic Python version derivation work with non-numeric
version number components
Diffstat (limited to 'lang')
-rw-r--r-- | lang/python/extension.buildlink.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python/extension.buildlink.mk b/lang/python/extension.buildlink.mk index 52ca95143a5..baef7a88f4b 100644 --- a/lang/python/extension.buildlink.mk +++ b/lang/python/extension.buildlink.mk @@ -1,8 +1,8 @@ -# $NetBSD: extension.buildlink.mk,v 1.9 2002/07/14 13:05:23 wiz Exp $ +# $NetBSD: extension.buildlink.mk,v 1.10 2002/09/03 18:14:19 drochner Exp $ # derive a python version from the package name if possible .if defined(PKGNAME_REQD) -PYTHON_VERSION_REQD?= ${PKGNAME_REQD:C/^py([0-9]*)-.*/\1/} +PYTHON_VERSION_REQD?= ${PKGNAME_REQD:C/^py([^-]*)-.*/\1/} .endif .include "../../lang/python/pyversion.mk" |