GNU bug report logs -
#30748
[PATCH] gnu: Add nsd.
Previous Next
Reported by: Tobias Geerinckx-Rice <me <at> tobias.gr>
Date: Thu, 8 Mar 2018 08:22:02 UTC
Severity: normal
Tags: patch
Done: Tobias Geerinckx-Rice <me <at> tobias.gr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Marius,
Danny,
So...
On 2018-03-10 10:18, Marius Bakke wrote:
> Tobias Geerinckx-Rice <me <at> tobias.gr> writes:
>
>> * gnu/packages/dns.scm (nsd): New public variable.
>
> [...]
>
>> + (add-before 'configure 'patch-installation-paths
>> + (lambda* (#:key outputs #:allow-other-keys)
>> + (let* ((out (assoc-ref outputs "out"))
>> + (doc (string-append out "/share/doc/" ,name "-"
>> ,version)))
>> + (substitute* "Makefile.in"
>> + (((string-append ".*\\$\\(DESTDIR\\)\\$\\("
>> + "(config|pid|xfr|db)dir"
>> + "\\).*"))
>> + "")
It's just a Makefile being very stupid. How boring :-(
It tries to create run-time systemy things like `dirname $pidfile` (from
#:configure-flags), which it has no business doing, so we ask it not to
by politely shooting it in the head.
> Can you add a comment about what's going on here?
Sure. If anyone has a cleaner fix or regex to match I'll gladly take it,
but I'm done staring at metamake. Otherwise a comment paraphrasing the
above will have to do.
T G-R
Sent from a Web browser. Excuse or enjoy my brevity.
This bug report was last modified 6 years and 226 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.