diff options
author | Erich Eckner <git@eckner.net> | 2019-01-23 13:19:05 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-23 13:19:05 +0100 |
commit | 339e25b6d78e92275256445c548191e2522cc5f3 (patch) | |
tree | efc75c1b8b1c11459900aba16c2ec2cf888566b8 /lib/mysql-functions | |
parent | b468ce1d1b7edab972cc18a6655b7e8fe55b416a (diff) | |
download | builder-339e25b6d78e92275256445c548191e2522cc5f3.tar.xz |
lib/mysql-functions: mysql_query_has_pending_dependencies(): treat makedepends "haskell-*" like depends - there we also need that no provider is uncompiled, because ... haskell
Diffstat (limited to 'lib/mysql-functions')
-rwxr-xr-x | lib/mysql-functions | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions index e0a22ac..a6fccd5 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -1013,7 +1013,9 @@ mysql_query_has_pending_dependencies() { "$2" printf ' AND IF(' # ... and if (a) relevant for binary_packages ... - printf '`l_dep_ts`.`relevant_for_binary_packages`,' + printf '`l_dep_ts`.`relevant_for_binary_packages`' + # (which includes makedependencies which are haskell packages!) + printf ' OR `todos`.`pkgname` LIKE "haskell-%%",' # ... has some unbuilt provider ... printf 'EXISTS (' printf 'SELECT 1' |