--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: [bug#32033] [PATCH] gnu: ikiwiki: Include auto setup files in output |
Date: |
Tue, 03 Jul 2018 15:44:21 +0200 |
User-agent: |
Notmuch/0.27 (https://notmuchmail.org) Emacs/26.1 (x86_64-pc-linux-gnu) |
Hello!
Paul Garlick <address@hidden> 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
Description: PGP signature
--- End Message ---