summaryrefslogtreecommitdiff
path: root/dh_perl
diff options
context:
space:
mode:
authorjoey <joey>2001-02-25 07:36:49 +0000
committerjoey <joey>2001-02-25 07:36:49 +0000
commit811a51e68bf36e8116d5cb0f60fde617640cdcd3 (patch)
tree0c3507a622cfeaab59d6a94fa44c2a85eec46797 /dh_perl
parent58a5fcfd24ecc319d4f5cc632d32ef31ef14079e (diff)
downloaddebhelper-811a51e68bf36e8116d5cb0f60fde617640cdcd3.tar.gz
r449: * dh_perl update
Diffstat (limited to 'dh_perl')
-rwxr-xr-xdh_perl8
1 files changed, 7 insertions, 1 deletions
diff --git a/dh_perl b/dh_perl
index 64cb362b..8bdfdad8 100755
--- a/dh_perl
+++ b/dh_perl
@@ -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)";