summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/quickpkg4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/quickpkg b/bin/quickpkg
index f2f183579..a0799f1b1 100755
--- a/bin/quickpkg
+++ b/bin/quickpkg
@@ -54,6 +54,10 @@ def quickpkg_main(options, args, eout):
if not dblnk.exists():
# unmerged by a concurrent process
continue
+ uses = dblnk.vartree.dbapi.aux_get(cpv, ["IUSE","USE"])
+ if "bindist" in uses[0] and "bindist" not in uses[1]:
+ eout.ewarn("%s: package was emerged with USE=-bindist!" % cpv)
+ eout.ewarn("%s: it may not be legal to redistribute this." % cpv)
eout.ebegin("Building package for %s" % cpv)
pkgs_for_arg += 1
contents = dblnk.getcontents()