diff options
author | drochner <drochner@pkgsrc.org> | 2002-09-03 18:14:19 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2002-09-03 18:14:19 +0000 |
commit | e9e73293b9228eb08c8a7a8f7c06fe171ecb4d19 (patch) | |
tree | cf5b6e2bdefa7bb30e1baebe5de67b969d1cbbd1 /lang/python | |
parent | 339778daac125a030c25b127aadc9506ecd56b9b (diff) | |
download | pkgsrc-e9e73293b9228eb08c8a7a8f7c06fe171ecb4d19.tar.gz |
make the automatic Python version derivation work with non-numeric
version number components
Diffstat (limited to 'lang/python')
-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" |