[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30748] [PATCH] gnu: Add nsd.
From: |
Marius Bakke |
Subject: |
[bug#30748] [PATCH] gnu: Add nsd. |
Date: |
Sat, 10 Mar 2018 10:18:00 +0100 |
User-agent: |
Notmuch/0.26 (https://notmuchmail.org) Emacs/25.3.1 (x86_64-pc-linux-gnu) |
Tobias Geerinckx-Rice <address@hidden> 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"
> + "\\).*"))
> + "")
Can you add a comment about what's going on here? Would setting
DESTDIR=(assoc-ref %outputs "out") in #:make-flags suffice?
Apart from that LGTM.
signature.asc
Description: PGP signature