* [PATCH] gnu: Fix path to /etc/netconfig in libtirpc.
@ 2016-12-07 14:30 John Darrington
2016-12-07 21:41 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: John Darrington @ 2016-12-07 14:30 UTC (permalink / raw)
To: guix-devel; +Cc: John Darrington
* gnu: gnu/packages/onc-rpc.scm (libtirpc) [arguments]: Replace "/etc/netconfig"
with (string-append %output "/etc/netconfig")
---
gnu/packages/onc-rpc.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/onc-rpc.scm b/gnu/packages/onc-rpc.scm
index 0bcc885..8ef3e9f 100644
--- a/gnu/packages/onc-rpc.scm
+++ b/gnu/packages/onc-rpc.scm
@@ -43,6 +43,14 @@
(modify-phases %standard-phases
(add-after 'unpack 'remote-dangling-symlink
(lambda _
+ (substitute* '("man/netconfig.5"
+ "man/getnetconfig.3t"
+ "man/getnetpath.3t"
+ "man/rpc.3t"
+ "src/getnetconfig.c"
+ "tirpc/netconfig.h")
+ (("/etc/netconfig") (string-append %output "/etc/netconfig")))
+
;; Remove the dangling symlinks since it breaks the
;; 'patch-source-shebangs' file tree traversal.
(delete-file "INSTALL"))))))
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gnu: Fix path to /etc/netconfig in libtirpc.
2016-12-07 14:30 [PATCH] gnu: Fix path to /etc/netconfig in libtirpc John Darrington
@ 2016-12-07 21:41 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-12-07 21:41 UTC (permalink / raw)
To: John Darrington; +Cc: guix-devel
John Darrington <jmd@gnu.org> skribis:
> * gnu: gnu/packages/onc-rpc.scm (libtirpc) [arguments]: Replace "/etc/netconfig"
^^^^
Typo.
Otherwise LGTM, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-12-07 21:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-07 14:30 [PATCH] gnu: Fix path to /etc/netconfig in libtirpc John Darrington
2016-12-07 21:41 ` Ludovic Courtès
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).