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 \
|
|
|
|
ADMMANDIR=$out/share/man/cat8 FFMANDIR=$out/share/man/cat5 \
|
|
|
|
LIBMANDIR=$out/share/man/cat3 USRMANDIR=$out/share/man/cat1 \
|
|
|
|
LIBDIR=$out/lib INCDIR=$out/include \
|
|
|
|
)
|
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
|