Roger Leigh wrote:

> I'm a bit busy for the next week (thesis submission), but I'll take
> care of all the points you've raised in early October as time allows,
> and I'll get an updated patch back to you.

Thanks.  Here's another tweak to consider when the time comes.

With the proposed semantics, "package is in Build-Depends" would not
actually be identical to "package is in both Build-Depends-Arch and
Build-Depends-Indep" because only Build-Depends/Build-Conflicts would
be guaranteed to be fulfilled when invoking the "debian/rules clean"
target (for example to generate a source package).

diff --git i/scripts/dpkg-buildpackage.pl w/scripts/dpkg-buildpackage.pl
index 40efa0cc..26756be8 100755
--- i/scripts/dpkg-buildpackage.pl
+++ w/scripts/dpkg-buildpackage.pl
@@ -213,13 +213,13 @@ while (@ARGV) {
        build_sourceonly && usageerr(_g("cannot combine %s and %s"), $_, "-S");
        $include = BUILD_ARCH_INDEP;
        push @changes_opts, '-A';
-       @checkbuilddep_opts = ();
+       @checkbuilddep_opts = ('-A');
        $binarytarget = 'binary-indep';
     } elsif (/^-S$/) {
        build_binaryonly && usageerr(_g("cannot combine %s and %s"), build_opt, 
"-S");
        $include = BUILD_SOURCE;
        push @changes_opts, '-S';
-       @checkbuilddep_opts = ('-B');
+       @checkbuilddep_opts = ('-A', '-B');
     } elsif (/^-F$/) {
        !build_normal && usageerr(_g("cannot combine %s and %s"), $_, 
build_opt);
        $include = BUILD_ALL;




-- 
To UNSUBSCRIBE, email to debian-dpkg-bugs-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to