Subject: [PATCH] gnu: ikiwiki: Include auto setup files in output

From: Paul Garlick <[email-masked]>
Date: Mon, 2 Jul 2018 12:38:21 +0100

* gnu/packages/web.scm(ikiwiki)[arguments]: Add patch-Makefile phase
---
 gnu/packages/web.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index dd1e63e..c923951 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4376,6 +4376,11 @@ NetSurf project.")
                  "        addenv(\"PERL5LIB\", \""
                  (getenv "PERL5LIB")
                  "\");")))))
+         (add-after 'patch-source-shebangs 'patch-Makefile
+           (lambda _
+             (substitute* "Makefile.PL"
+               (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
+             #t))
          (add-after 'install 'wrap-programs
            (lambda* (#:key outputs #:allow-other-keys)
              (let* ((out  (assoc-ref outputs "out"))
-- 
1.8.3.1