~bzr/ubuntu/hardy/debhelper/builddeps-ppa

« back to all changes in this revision

Viewing changes to dh_perl

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2009-08-25 11:10:18 UTC
  • mfrom: (1.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20090825111018-155444i09hxlcz5f
Tags: 7.3.15ubuntu1
* Resynchronise with Debian. Remaining changes:
  - dh_installudev: Default priority is now 40 by default.
  - dh_installudev: Handle conffile migration from old Ubuntu defaults
    (needed until after the next LTS release).

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
 
61
61
=head1 CONFORMS TO
62
62
 
63
 
Debian policy, version 3.0.1
 
63
Debian policy, version 3.8.3
64
64
 
65
 
Perl policy, version 1.18
 
65
Perl policy, version 1.20
66
66
 
67
67
=cut
68
68
 
71
71
my $vendorlib = substr $Config{vendorlib}, 1;
72
72
my $vendorarch = substr $Config{vendorarch}, 1;
73
73
 
74
 
# the installation dir for arch-indep modules changed to
75
 
# /usr/share/perl5 in this version:
76
 
my $min_version = '5.6.0-16';
77
 
 
78
74
# Cleaning the paths given on the command line
79
75
foreach (@ARGV) {
80
76
        s#/$##;
125
121
                                unless $version;
126
122
                        $version = ">= $version";
127
123
                }
128
 
                elsif ($deps & PM_MODULE) {
129
 
                        $version = ">= $min_version";
130
 
                }
131
124
                
132
125
                # no need to depend on an un-versioned perl-base -- it's
133
126
                # essential