Browse Source

Fixed util-vserver.conf to look for wget and vconfig in bindir, but the others in sbindir

early
Alejandro Mery 17 years ago
parent
commit
3415b63b70
1 changed files with 15 additions and 3 deletions
  1. +15
    -3
      security/util-vserver/util-vserver.conf

+ 15
- 3
security/util-vserver/util-vserver.conf

@ -44,14 +44,26 @@ hook_add postmake 5 "vserver_tests"
# some help to crosscompile
#
for x in ip iptables vconfig wget; do
# which package?
case "$x" in
ip) y=iproute2 ;;
ip)
y="iproute2" ;;
vconfig)
y=vlan ;;
y="vlan" ;;
*)
y="$x" ;;
esac
z=$( echo "$x" | tr '[a-z]' '[A-Z]' )
pkgprefix -t $y
var_append configcache ' ' ac_cv_path_$z=$( pkgprefix bindir $y )/$x
# where is it?
case "$x" in
wget|vconfig)
x_path=bindir ;;
*)
x_path=sbindir ;;
esac
var_append configcache ' ' ac_cv_path_$z=$( pkgprefix $x_path $y )/$x
done

Loading…
Cancel
Save