2005-12-05 15:11:09 +01:00
|
|
|
source $stdenv/setup
|
2005-08-21 18:11:25 +02:00
|
|
|
|
2007-02-20 15:59:11 +01:00
|
|
|
# Hack to prevent dhclient from overriding the PATH specified with
|
|
|
|
# '-e' on the command-line.
|
2007-03-16 12:55:21 +01:00
|
|
|
makeFlagsArray=(CLIENT_PATH='\"FAKE_PATH=/nothing\"' \
|
|
|
|
USERBINDIR=$out/bin BINDIR=$out/sbin CLIENTBINDIR=$out/sbin \
|
2007-03-16 14:04:28 +01:00
|
|
|
ADMMANDIR=$out/share/man/man8 FFMANDIR=$out/share/man/man5 \
|
|
|
|
LIBMANDIR=$out/share/man/man3 USRMANDIR=$out/share/man/man1 \
|
2007-06-20 14:45:02 +02:00
|
|
|
LIBDIR=$out/lib INCDIR=$out/include VARDB=$OUT/var/run \
|
2007-03-16 12:55:21 +01:00
|
|
|
)
|
2007-02-20 15:59:11 +01:00
|
|
|
|
2007-02-20 15:20:16 +01:00
|
|
|
configurePhase=configurePhase
|
2005-08-21 18:11:25 +02:00
|
|
|
configurePhase() {
|
2007-02-20 15:20:16 +01:00
|
|
|
./configure
|
2005-08-21 18:11:25 +02:00
|
|
|
}
|
|
|
|
|
2007-02-20 15:20:16 +01:00
|
|
|
preBuild=preBuild
|
2005-10-12 22:32:57 +02:00
|
|
|
preBuild() {
|
2007-02-20 15:20:16 +01:00
|
|
|
substituteInPlace client/scripts/linux --replace /bin/bash $shell
|
2005-10-12 22:32:57 +02:00
|
|
|
}
|
|
|
|
|
2005-08-21 18:11:25 +02:00
|
|
|
genericBuild
|