Skip to content
Snippets Groups Projects
Unverified Commit 0919d614 authored by Mathieu Othacehe's avatar Mathieu Othacehe
Browse files

gnu: xl2tpd: Fix build.

* gnu/packages/vpn.scm (xl2tpd)[arguments]: Substitute hardcoded pppd path
instead of trying to set CFLAGS variable.
parent 6e31d6f3
No related branches found
No related tags found
No related merge requests found
......@@ -648,10 +648,10 @@ (define-public xl2tpd
(delete 'configure) ;no configure script
(add-before 'build 'setup-environment
(lambda* (#:key inputs #:allow-other-keys)
(setenv "CFLAGS"
(string-append "-DPPPD=\""
(assoc-ref inputs "ppp")
"/sbin/pppd\""))
(substitute* "l2tp.h"
(("/usr/sbin/pppd")
(string-append (assoc-ref inputs "ppp")
"/sbin/pppd")))
(setenv "KERNELSRC"
(assoc-ref inputs "linux-libre-headers"))
#t)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment