2005-12-05 14:11:09 +00:00
|
|
|
source $stdenv/setup
|
2005-08-21 17:11:25 +01:00
|
|
|
|
|
|
|
export DESTDIR=$out
|
|
|
|
|
2007-02-20 14:59:11 +00:00
|
|
|
# Hack to prevent dhclient from overriding the PATH specified with
|
|
|
|
# '-e' on the command-line.
|
|
|
|
makeFlags="CLIENT_PATH='\"FAKE_PATH=/nothing\"'"
|
|
|
|
|
2007-02-20 14:20:16 +00:00
|
|
|
configurePhase=configurePhase
|
2005-08-21 17:11:25 +01:00
|
|
|
configurePhase() {
|
2007-02-20 14:20:16 +00:00
|
|
|
./configure
|
|
|
|
prefix=$out
|
2005-08-21 17:11:25 +01:00
|
|
|
}
|
|
|
|
|
2007-02-20 14:20:16 +00:00
|
|
|
preBuild=preBuild
|
2005-10-12 21:32:57 +01:00
|
|
|
preBuild() {
|
2007-02-20 14:20:16 +00:00
|
|
|
substituteInPlace client/scripts/linux --replace /bin/bash $shell
|
2005-10-12 21:32:57 +01:00
|
|
|
}
|
|
|
|
|
2005-08-21 17:11:25 +01:00
|
|
|
genericBuild
|