Merge pull request #30759 from FlorentBecker/pptp_route

pptp: correct reference to ${iproute}/bin/ip
This commit is contained in:
Joachim F
2017-10-28 11:31:57 +00:00
committed by GitHub
+3 -3
View File
@@ -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 ];