GNU bug report logs - #32033
[PATCH] gnu: ikiwiki: Include auto setup files in output

Previous Next

Package: guix-patches;

Reported by: Paul Garlick <pgarlick <at> tourbillion-technology.com>

Date: Mon, 2 Jul 2018 11:40:02 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <mbakke <at> fastmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#32033: closed ([PATCH] gnu: ikiwiki: Include auto setup files
 in output)
Date: Tue, 03 Jul 2018 13:45:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 03 Jul 2018 15:44:21 +0200
with message-id <87muv88mdm.fsf <at> fastmail.com>
and subject line Re: [bug#32033] [PATCH] gnu: ikiwiki: Include auto setup files in output
has caused the debbugs.gnu.org bug report #32033,
regarding [PATCH] gnu: ikiwiki: Include auto setup files in output
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
32033: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32033
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Paul Garlick <pgarlick <at> tourbillion-technology.com>
To: guix-patches <at> gnu.org
Cc: Paul Garlick <pgarlick <at> tourbillion-technology.com>
Subject: [PATCH] gnu: ikiwiki: Include auto setup files in output
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



[Message part 3 (message/rfc822, inline)]
From: Marius Bakke <mbakke <at> fastmail.com>
To: Paul Garlick <pgarlick <at> tourbillion-technology.com>,
 32033-done <at> debbugs.gnu.org
Cc: Paul Garlick <pgarlick <at> tourbillion-technology.com>
Subject: Re: [bug#32033] [PATCH] gnu: ikiwiki: Include auto setup files in
 output
Date: Tue, 03 Jul 2018 15:44:21 +0200
[Message part 4 (text/plain, inline)]
Hello!

Paul Garlick <pgarlick <at> tourbillion-technology.com> writes:

> * gnu/packages/web.scm(ikiwiki)[arguments]: Add patch-Makefile phase

[...]

> +         (add-after 'patch-source-shebangs 'patch-Makefile
> +           (lambda _
> +             (substitute* "Makefile.PL"
> +               (("SYSCONFDIR\\?=") "SYSCONFDIR?=$(PREFIX)"))
> +             #t))

I'm not too familiar with Perl packaging, but could this be solved
by passing the equivalent of "--sysconfdir" somewhere, like we do in
gnu-build-system?

I could not find any examples in (gnu packages perl) however, so I've
applied this as-is.  Thank you!
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 6 years and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.