index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2020-02-14 14:16:14 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-14 14:16:14 +0100 |
commit | 6723888561621229568e4aa10b1c2e706c1ced67 (patch) | |
tree | 65de5e404a05cad7cb17d4a54d11823a592b9054 | |
parent | 5b3bcf9bee058d74085c88666c250559f3ff4228 (diff) |
-rwxr-xr-x | lib/mysql-functions | 8 |
diff --git a/lib/mysql-functions b/lib/mysql-functions index 27f327b..48fb037 100755 --- a/lib/mysql-functions +++ b/lib/mysql-functions @@ -1062,8 +1062,12 @@ mysql_query_has_pending_dependencies() { printf ' AND IF(' # ... and if (a) relevant for binary_packages ... printf '`l_dep_ts`.`relevant_for_binary_packages`' - # (which includes makedependencies which are haskell packages!) - printf ' OR `install_targets`.`name` LIKE "haskell-%%",' + # (which includes makedependencies which are haskell packages ... + printf ' OR (' + printf '`install_targets`.`name` LIKE "haskell-%%"' + # ... but only if the package itself is not "ghc"!) + printf ' AND `todos`.`pkgname` NOT IN ("ghc","ghc-libs","ghc-static")' + printf '),' # ... has some unbuilt provider ... printf 'EXISTS (' printf 'SELECT 1' |