[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-checkbuilddeps



Joey Hess wrote:
> Christian T. Steigies wrote:
> > So on m68k, I should not need zlib-bin, linuxdoc-tools, or snarf.
> 
> Bug filed, you can use this patch in the meantime

Er, actually, us this one instead.

--- /usr/bin/dpkg-checkbuilddeps        Wed Jun  6 23:39:21 2001
+++ dpkg-checkbuilddeps Mon Jun 11 10:54:37 2001
@@ -128,7 +128,7 @@
                my $ok=0;
                my @possibles=();
 ALTERNATE:     foreach my $alternate (split(/\s*\|\s*/, $dep)) {
-                       my ($package, $rest)=split(/\s*(?=\()/, $alternate, 2);
+                       my ($package, $rest)=split(/\s+/, $alternate, 2);

                        # Check arch specifications.
                        if (defined $rest && $rest=~m/\[(.*?)\]/) {

-- 
see shy jo



Reply to: