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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32033 in the body.
You can then email your comments to 32033 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#32033; Package guix-patches. (Mon, 02 Jul 2018 11:40:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Garlick <pgarlick <at> tourbillion-technology.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 02 Jul 2018 11:40:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





Reply sent to Marius Bakke <mbakke <at> fastmail.com>:
You have taken responsibility. (Tue, 03 Jul 2018 13:45:02 GMT) Full text and rfc822 format available.

Notification sent to Paul Garlick <pgarlick <at> tourbillion-technology.com>:
bug acknowledged by developer. (Tue, 03 Jul 2018 13:45:02 GMT) Full text and rfc822 format available.

Message #10 received at 32033-done <at> debbugs.gnu.org (full text, mbox):

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 1 (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)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 01 Aug 2018 11:24:04 GMT) Full text and rfc822 format available.

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.