2011-05-16 18:07:44 +02:00
|
|
|
Support a "first version wins" semantics.
|
|
|
|
|
|
|
|
--- ./scripts/perl.prov.orig 2010-12-03 12:11:57.000000000 +0000
|
|
|
|
+++ ./scripts/perl.prov 2011-05-11 15:32:39.000000000 +0000
|
|
|
|
@@ -170,7 +170,7 @@ sub process_file {
|
|
|
|
|
|
|
|
$version = $1;
|
2007-05-25 17:22:10 +02:00
|
|
|
}
|
2011-05-16 18:07:44 +02:00
|
|
|
- $require{$package} = $version;
|
2007-05-25 17:22:10 +02:00
|
|
|
+ $require{$package} ||= $version;
|
|
|
|
}
|
2011-05-16 18:07:44 +02:00
|
|
|
|
2007-05-25 17:22:10 +02:00
|
|
|
# Allow someone to have a variable that defines virtual packages
|