pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/python Fix breakage caused by PKGNAME_REQD quotin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0754829d124a
branches:  trunk
changeset: 463201:0754829d124a
user:      recht <recht%pkgsrc.org@localhost>
date:      Sat Nov 01 12:10:00 2003 +0000

description:
Fix breakage caused by PKGNAME_REQD quoting in bsd.pkg.mk.

diffstat:

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

diffs (14 lines):

diff -r 6a4ec426fbbf -r 0754829d124a lang/python/extension.mk
--- a/lang/python/extension.mk  Sat Nov 01 10:36:31 2003 +0000
+++ b/lang/python/extension.mk  Sat Nov 01 12:10:00 2003 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: extension.mk,v 1.5 2003/09/14 16:43:45 recht Exp $
+# $NetBSD: extension.mk,v 1.6 2003/11/01 12:10:00 recht Exp $
 
 # derive a python version from the package name if possible
 .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