summaryrefslogtreecommitdiffstats
path: root/bin/quickpkg
diff options
context:
space:
mode:
Diffstat (limited to 'bin/quickpkg')
-rwxr-xr-xbin/quickpkg6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/quickpkg b/bin/quickpkg
index 1b8cd9bff..d32a92fcb 100755
--- a/bin/quickpkg
+++ b/bin/quickpkg
@@ -104,6 +104,12 @@ def quickpkg_main(options, args, eout):
if not dblnk.exists():
# unmerged by a concurrent process
continue
+ iuse, use = vardb.aux_get(cpv, ["IUSE","USE"])
+ iuse = [ x.lstrip("+-") for x in iuse.split() ]
+ use = use.split()
+ if "bindist" in iuse and "bindist" not in use:
+ 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()