replace nonfree=yes with repository=nonfree.

This way it is possible to set up package specific repositories for
i.e. specific devices.
This commit is contained in:
Enno Boland 2014-11-01 13:10:22 +01:00
parent 95b7f907f4
commit 59cc3e0d45
26 changed files with 42 additions and 42 deletions

View file

@ -320,7 +320,7 @@ setup_pkg() {
fi
# For nonfree/bootstrap pkgs there's no point in building -dbg pkgs, disable them.
if [ -z "$XBPS_DEBUG_PKGS" -o -n "$nonfree" -o -n "$bootstrap" ]; then
if [ -z "$XBPS_DEBUG_PKGS" -o -n "$repository" = "nonfree" -o -n "$bootstrap" ]; then
disable_debug=yes
fi
# If a package sets force_debug_pkgs, always build -dbg pkgs.