gnu: yadifa: Strip spurious store references.

* gnu/packages/dns.scm (yadifa)[arguments]: Add an
‘omit-spurious-references’ phase.
This commit is contained in:
Tobias Geerinckx-Rice 2020-10-21 16:38:56 +02:00
parent 4733c76c55
commit 576a16995e
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -782,6 +782,13 @@ (define-public yadifa
(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"