diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-05 07:27:44 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-05 07:27:44 +0000 |
commit | 9e9175536911315f5b1a4606143613ca36c5804d (patch) | |
tree | 1fd84dba2162f1f4dd61c570671d967f81a3e798 | |
parent | f5dce44bf98218313715bc3b849c9b2120272f0d (diff) | |
download | abuild-9e9175536911315f5b1a4606143613ca36c5804d.tar.gz abuild-9e9175536911315f5b1a4606143613ca36c5804d.tar.bz2 abuild-9e9175536911315f5b1a4606143613ca36c5804d.tar.xz abuild-9e9175536911315f5b1a4606143613ca36c5804d.zip |
abuild: add warning when depends_dev needs cleanup
-rw-r--r-- | abuild.in | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1049,6 +1049,10 @@ trace_apk_deps() { for i in $(sort -u "$dir"/.needs-pc 2>/dev/null); do if subpkg_provides_pc "$i" || cross_compiling \ || $APK info --quiet --installed "pc:$i"; then + local provider=$(apk search --quiet "pc:$i") + if list_has "$provider" $depends_dev; then + warning "$provider should be removed from depends_dev" + fi autodeps="$autodeps pc:$i" else warning "Could not find any provider for pc:$i" |