mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
12 lines
597 B
Diff
12 lines
597 B
Diff
--- a/tools/build/src/tools/python.jam 2012-04-25 22:35:55.000000000 -0500
|
|
+++ b/tools/build/src/tools/python.jam 2013-01-21 07:22:30.814373200 -0600
|
|
@@ -376,7 +376,7 @@ local rule path-to-native ( paths * )
|
|
#
|
|
local rule split-version ( version )
|
|
{
|
|
- local major-minor = [ MATCH ^([0-9]+)\.([0-9]+)(.*)$ : $(version) : 1 2 3 ] ;
|
|
+ local major-minor = [ MATCH ^([0-9]+)\.([0-9]+[dmu]*)(.*)$ : $(version) : 1 2 3 ] ;
|
|
if ! $(major-minor[2]) || $(major-minor[3])
|
|
{
|
|
ECHO "Warning: \"using python\" expects a two part (major, minor) version number; got" $(version) instead ;
|