* [bug#32033] [PATCH] gnu: ikiwiki: Include auto setup files in output
@ 2018-07-02 11:38 Paul Garlick
2018-07-03 13:44 ` bug#32033: " Marius Bakke
0 siblings, 1 reply; 2+ messages in thread
From: Paul Garlick @ 2018-07-02 11:38 UTC (permalink / raw)
To: 32033; +Cc: Paul Garlick
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#32033: [PATCH] gnu: ikiwiki: Include auto setup files in output
2018-07-02 11:38 [bug#32033] [PATCH] gnu: ikiwiki: Include auto setup files in output Paul Garlick
@ 2018-07-03 13:44 ` Marius Bakke
0 siblings, 0 replies; 2+ messages in thread
From: Marius Bakke @ 2018-07-03 13:44 UTC (permalink / raw)
To: Paul Garlick, 32033-done
[-- Attachment #1: Type: text/plain, Size: 619 bytes --]
Hello!
Paul Garlick <pgarlick@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!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-03 13:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-02 11:38 [bug#32033] [PATCH] gnu: ikiwiki: Include auto setup files in output Paul Garlick
2018-07-03 13:44 ` bug#32033: " Marius Bakke
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.