From 576a16995ea26cf9d2c5aebe504c7863d1bc26f2 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 21 Oct 2020 16:38:56 +0200 Subject: gnu: yadifa: Strip spurious store references. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/dns.scm (yadifa)[arguments]: Add an ‘omit-spurious-references’ phase. --- gnu/packages/dns.scm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gnu/packages/dns.scm b/gnu/packages/dns.scm index cd809fa9b9..5e85aba5ec 100644 --- a/gnu/packages/dns.scm +++ b/gnu/packages/dns.scm @@ -782,6 +782,13 @@ served by AS112. Stub and forward zones are supported.") (lambda _ (substitute* "Makefile.in" ((" (etc|var)") "")) + #t)) + (add-after 'configure 'omit-spurious-references + (lambda _ + ;; The many Makefile.in grep this(!) to #define BUILD_OPTIONS. + (substitute* "config.log" + (("(=/gnu/store/)[^-]*" _ match) + (string-append match "..."))) #t))) #:configure-flags (list "--sysconfdir=/etc" -- cgit v1.2.3