# HG changeset patch # User Antoine Bodin # Date 1297652340 -3600 # Node ID 6a0bc1cc0812f4802d4743d966a0f02835e7861e # Parent 6b093970f4f903673641eb31175c790b34ad075d Don't install build_depends if package doesn't have compile_rules and doesn't have BUILD_DEPENDS (thanks Godane) diff -r 6b093970f4f9 -r 6a0bc1cc0812 tazwok --- a/tazwok Mon Feb 14 03:06:47 2011 +0100 +++ b/tazwok Mon Feb 14 03:59:00 2011 +0100 @@ -292,6 +292,7 @@ { [ "$WANTED" ] && return [ "$CATEGORY" = meta ] && ! fgrep -q compile_rules $RECEIPT && return + [ ! "$BUILD_DEPENDS" ] && ! fgrep -q compile_rules $RECEIPT && return report step "Looking for build dependencies" # Keep the list of previously installed build_depends then compare