From e19d441fc21082c68560bc8379a05fccb599c38d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 15 May 2024 10:16:31 +0300 Subject: [PATCH] gnu: quagga: Remove pre-generated files. * gnu/packages/networking.scm (quagga)[source]: Add snippet to remove pre-generated files. [native-inputs]: Add gawk. Change-Id: If82c30bde23c5a13750738f0841d4d2704c0c8c6 --- gnu/packages/networking.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index 058b71523e46373141105283bccce4c5b32fe231..35f4e159743e68d80e46a9357c54a553e22e8eeb 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -14,7 +14,7 @@ ;;; Copyright © 2016, 2017 Pjotr Prins ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017, 2020, 2021 Leo Famulari -;;; Copyright © 2017-2023 Efraim Flashner +;;; Copyright © 2017-2024 Efraim Flashner ;;; Copyright © 2017, 2018, 2019 Rutger Helling ;;; Copyright © 2017, 2019 Gábor Boskovits ;;; Copyright © 2017 Thomas Danckaert @@ -123,6 +123,7 @@ #:use-module (gnu packages documentation) #:use-module (gnu packages flex) #:use-module (gnu packages freedesktop) + #:use-module (gnu packages gawk) #:use-module (gnu packages gd) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) @@ -3086,9 +3087,14 @@ does not use SSH and requires a pre-shared symmetric key.") (base32 "1lsksqxij5f1llqn86pkygrf5672kvrqn1kvxghi169hqf1c0r73")) (patches - (search-patches "quagga-reproducible-build.patch")))) + (search-patches "quagga-reproducible-build.patch")) + (snippet + #~(begin (delete-file "lib/memtypes.h") + (delete-file "lib/route_types.h") + (delete-file "lib/version.h") + (delete-file "vtysh/extract.pl"))))) (build-system gnu-build-system) - (native-inputs (list pkg-config perl dejagnu)) + (native-inputs (list gawk pkg-config perl dejagnu)) (inputs (list readline c-ares)) (synopsis "Routing Software Suite") (description "Quagga is a routing software suite, providing implementations