pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ${PYPKGPREFIX}- for package names (and wip/py-buildbot)
On Fri, 17 Jul 2009 10:48:55 +0900, Oliver V. Gould <ver%olix0r.net@localhost>
wrote:
>> + # Set PYTHON_VESION_DEFAULT if necessary
>> + MAKE_SET_VARS=''
>> + case "$pkg" in
>> + py25-*) MAKE_SET_VARS='PYTHON_VERSION_DEFAULT=25' ;;
>> + py24-*) MAKE_SET_VARS='PYTHON_VERSION_DEFAULT=24' ;;
> should also include:
> py26-*) MAKE_SET_VARS='PYTHON_VERSION_DEFAULT=26' ;;
>
> As you noted, this is clearly not scalable. There should be no need to
> modify pkg_rr when i.e. Python 2.7 is released.
I don't know what is $pkg, but if it is old pkgname,
PKGNAME_OLD=$pkg, or new pkgname, PKGNAME_REQD=$pkg
may resolve the issue.
--
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost
Home |
Main Index |
Thread Index |
Old Index