summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xabuild.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index 35584d1..beb8e57 100755
--- a/abuild.in
+++ b/abuild.in
@@ -1588,6 +1588,12 @@ builddeps() {
# ignore if dependency is in other repo
[ -d "$dir" ] || continue
+ # check if dep is blacklisted
+ if list_has $pkg $ABUILD_BLACKLIST; then
+ error "$pkg is blacklisted"
+ return 1
+ fi
+
# break circular deps
list_has $pkg $ABUILD_VISITED && continue
export ABUILD_VISITED="$ABUILD_VISITED $pkg"