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

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


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

Modified:
   mono/trunk/debian/dh_netdeps
Log:
no-mono-jit-deps option for dh_netdeps


Modified: mono/trunk/debian/dh_netdeps
===================================================================
--- mono/trunk/debian/dh_netdeps	2004-06-18 23:13:02 UTC (rev 1072)
+++ mono/trunk/debian/dh_netdeps	2004-06-19 00:08:15 UTC (rev 1073)
@@ -47,6 +47,10 @@
 The list of possibly duplicating candidates is expected to be in the
 variable shlib:Depends from debian/package.substvars.
 
+=item B<-k>
+
+Don't add a versioned dependency on mono-jit or mono-mint.
+
 =cut
 
 init();
@@ -236,9 +240,9 @@
     }
 
     addsubstvar( $package, "net:Depends",
-        "mono-jit (>= $mono_version) | mono-mint (>= $mono_version)"
+        ( (defined($dh{K_FLAG})) ? "" : "mono-jit (>= $mono_version) | mono-mint (>= $mono_version), " )
         . join ( ", ", "", sort {
-           # beautify the sort order... oh, it sucks
+           # beautify the sort order, requested by meebey
            my $apkg;
            $a=~/^\S+/;
            $apkg=$&;