pptp: correct reference to ${iproute}/bin/ip
A reference to /bin/ip was left hanging, causing failure when establishing a connection caused pptp to try and manipulate roots.
This commit is contained in:
parent
eec692a1b4
commit
30c739f7a1
@ -12,12 +12,12 @@ stdenv.mkDerivation rec {
|
|||||||
patchPhase =
|
patchPhase =
|
||||||
''
|
''
|
||||||
sed -e 's/install -o root/install/' -i Makefile
|
sed -e 's/install -o root/install/' -i Makefile
|
||||||
sed -e 's,/bin/ip,${iproute}/sbin/ip,' -i routing.c
|
|
||||||
'';
|
'';
|
||||||
preConfigure =
|
preConfigure =
|
||||||
''
|
''
|
||||||
makeFlagsArray=( PPPD=${ppp}/sbin/pppd BINDIR=$out/sbin \
|
makeFlagsArray=( IP=${iproute}/bin/ip PPPD=${ppp}/sbin/pppd \
|
||||||
MANDIR=$out/share/man/man8 PPPDIR=$out/etc/ppp )
|
BINDIR=$out/sbin MANDIR=$out/share/man/man8 \
|
||||||
|
PPPDIR=$out/etc/ppp )
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [ perl which ];
|
nativeBuildInputs = [ perl which ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user