gnu: ikiwiki: Include auto setup files in output.
authorPaul Garlick <pgarlick@tourbillion-technology.com>
Mon, 2 Jul 2018 11:38:21 +0000 (12:38 +0100)
committerMarius Bakke <mbakke@fastmail.com>
Tue, 3 Jul 2018 13:45:41 +0000 (15:45 +0200)
* gnu/packages/web.scm(ikiwiki)[arguments]: Add patch-Makefile phase.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
gnu/packages/web.scm

index 805903a..3d83a21 100644 (file)
@@ -4379,6 +4379,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"))