From 5ae0dcc9950fc5c4f4dad8a0a26c54897c972da3 Mon Sep 17 00:00:00 2001 From: recht Date: Fri, 5 Dec 2003 19:24:31 +0000 Subject: Fix PYTHON_VERSION_REQG regex for non-NetBSD native make (read for bmake). --- lang/python/extension.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lang/python') 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" -- cgit v1.2.3