2005-12-05 14:11:09 +00:00
|
|
|
source $stdenv/setup
|
2005-08-21 17:11:25 +01:00
|
|
|
|
2007-02-20 14:59:11 +00:00
|
|
|
# Hack to prevent dhclient from overriding the PATH specified with
|
|
|
|
# '-e' on the command-line.
|
2007-03-16 11:55:21 +00:00
|
|
|
makeFlagsArray=(CLIENT_PATH='\"FAKE_PATH=/nothing\"' \
|
|
|
|
USERBINDIR=$out/bin BINDIR=$out/sbin CLIENTBINDIR=$out/sbin \
|
2007-03-16 13:04:28 +00:00
|
|
|
ADMMANDIR=$out/share/man/man8 FFMANDIR=$out/share/man/man5 \
|
|
|
|
LIBMANDIR=$out/share/man/man3 USRMANDIR=$out/share/man/man1 \
|
2007-06-20 13:45:02 +01:00
|
|
|
LIBDIR=$out/lib INCDIR=$out/include VARDB=$OUT/var/run \
|
2007-03-16 11:55:21 +00:00
|
|
|
)
|
2007-02-20 14:59:11 +00:00
|
|
|
|
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
|
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
|