Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/mysql-functions
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-23 13:19:05 +0100
committerErich Eckner <git@eckner.net>2019-01-23 13:19:05 +0100
commit339e25b6d78e92275256445c548191e2522cc5f3 (patch)
treeefc75c1b8b1c11459900aba16c2ec2cf888566b8 /lib/mysql-functions
parentb468ce1d1b7edab972cc18a6655b7e8fe55b416a (diff)
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-xlib/mysql-functions4
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'