Browse Source

coreutils: disable uptime if procps is installed

karasz/new-early
Alejandro Mery 16 years ago
parent
commit
9ea29b67ed
  1. 11
      base/coreutils/coreutils.conf

11
base/coreutils/coreutils.conf

@ -49,6 +49,11 @@ hook_add postmake 5 'ln -sf install $root/usr/bin/ginstall'
# install hostname
var_append confopt ' ' '--enable-install-program=hostname'
if pkginstalled mktemp; then
var_append confopt ' ' '--enable-no-install-program=mktemp'
fi
noinstall=
for x in mktemp procps:uptime; do
if pkginstalled "${x%:*}"; then
var_append noinstall ',' "${x#*:}"
fi
done
[ -z "$noinstall" ] ||
var_append confopt ' ' "--enable-no-install-program=$noinstall"

Loading…
Cancel
Save