Changeset 52 for trunk


Ignore:
Timestamp:
04/07/06 17:51:06 (19 years ago)
Author:
kdeugau
Message:

/trunk

Hack of a workaround to let debbuild function on older Debian
boxen. (Debian woody apparently does not have dpkg-query. Nrgh.)
Note that this will DISABLE checks for build-deps!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debbuild

    r51 r52  
    868868  return 1 if $buildreq eq '';  # No use doing extra work.
    869869
     870  if ( ! -e "/usr/bin/dpkg-query" ) {
     871    print "**WARNING**  dpkg-query not found.  Can't check build-deps.\n".
     872        "  Required for sucessful build:\n".$buildreq."\n".
     873        "  Continuing anyway.\n";
     874    return 1;
     875  }
     876
    870877  my $reqflag = 1;  # unset iff a buildreq is missing
    871878
Note: See TracChangeset for help on using the changeset viewer.