diff options
author | joey <joey> | 2001-02-25 07:36:49 +0000 |
---|---|---|
committer | joey <joey> | 2001-02-25 07:36:49 +0000 |
commit | 811a51e68bf36e8116d5cb0f60fde617640cdcd3 (patch) | |
tree | 0c3507a622cfeaab59d6a94fa44c2a85eec46797 /dh_perl | |
parent | 58a5fcfd24ecc319d4f5cc632d32ef31ef14079e (diff) | |
download | debhelper-811a51e68bf36e8116d5cb0f60fde617640cdcd3.tar.gz |
r449: * dh_perl update
Diffstat (limited to 'dh_perl')
-rwxr-xr-x | dh_perl | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -36,6 +36,12 @@ full perl package. If so, you can pass the -d option to make dh_perl generate a dependency on the correct base package. This is only necessary for some packages that are included in the base system. +=item B<-V> + +By default, scripts and architecture independent modules don't depend +on any specific version of perl. The -V option causes the current +version of the perl (or perl-base with -d) package to be specified. + =item I<library dirs> If your package installs perl modules in non-standard @@ -107,7 +113,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { my $perl_depends = $perl; if ($deps & XS_MODULE or $dh{V_FLAG_SET}) { - ($version) = `dpkg -p $perl` =~ /^Version:\s*(\S+)/m + ($version) = `dpkg -s $perl` =~ /^Version:\s*(\S+)/m unless $version; $perl_depends .= " (>= $version)"; |