From a153ff80c85c5aa426371a1b691395d953fc6a53 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Sun, 12 Apr 2015 19:46:20 -0400 Subject: gnu: net-tools: Adapt to linux-libre-headers-3.14.x. * gnu/packages/linux.scm (net-tools): Remove the HAVE_HWSTRIP and HAVE_HWTR options from the configuration. --- gnu/packages/linux.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index f04a94b3a3..4a0f61ef22 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -920,10 +920,12 @@ manpages.") ;; Pretend we have everything... (system "yes | make config") - ;; ... except we don't have libdnet, so remove that - ;; definition. + ;; ... except for the things we don't have. + ;; HAVE_AFDECnet requires libdnet, which we don't have. + ;; HAVE_HWSTRIP and HAVE_HWTR require kernel headers + ;; that have been removed. (substitute* '("config.make" "config.h") - (("^.*HAVE_AFDECnet.*$") "")))) + (("^.*HAVE_(AFDECnet|HWSTRIP|HWTR)[ =]1.*$") "")))) (alist-cons-after 'install 'remove-redundant-commands (lambda* (#:key outputs #:allow-other-keys) -- cgit v1.2.3