Browse Source

coreutils: disable uptime if procps is installed

user/chris/old/ruby
Alejandro Mery 15 years ago
parent
commit
9ea29b67ed
1 changed files with 8 additions and 3 deletions
  1. +8
    -3
      base/coreutils/coreutils.conf

+ 8
- 3
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