[Pkg-mono-svn-commits] rev 1074 - mono/trunk/debian

Eduard Bloch blade@haydn.debian.org
Fri, 18 Jun 2004 18:16:23 -0600


Author: blade
Date: 2004-06-18 18:15:49 -0600 (Fri, 18 Jun 2004)
New Revision: 1074

Modified:
   mono/trunk/debian/dh_netdeps
Log:
Call the option -r for Relaxed Dependency


Modified: mono/trunk/debian/dh_netdeps
===================================================================
--- mono/trunk/debian/dh_netdeps	2004-06-19 00:08:15 UTC (rev 1073)
+++ mono/trunk/debian/dh_netdeps	2004-06-19 00:15:49 UTC (rev 1074)
@@ -47,9 +47,10 @@
 The list of possibly duplicating candidates is expected to be in the
 variable shlib:Depends from debian/package.substvars.
 
-=item B<-k>
+=item B<-r>
 
-Don't add a versioned dependency on mono-jit or mono-mint.
+Set a relaxed dependency on the VM, eg. "mono-jit | cli-virtual-machine" instead of
+hard versioned dependency on mono or mint packages.
 
 =cut
 
@@ -240,7 +241,7 @@
     }
 
     addsubstvar( $package, "net:Depends",
-        ( (defined($dh{K_FLAG})) ? "" : "mono-jit (>= $mono_version) | mono-mint (>= $mono_version), " )
+        ( (defined($dh{R_FLAG})) ? "mono-jit | cli-virtual-machine" : "mono-jit (>= $mono_version) | mono-mint (>= $mono_version), " )
         . join ( ", ", "", sort {
            # beautify the sort order, requested by meebey
            my $apkg;