guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: Fix path to /etc/netconfig in libtirpc.


From: John Darrington
Subject: 01/01: gnu: Fix path to /etc/netconfig in libtirpc.
Date: Thu, 8 Dec 2016 07:31:22 +0000 (UTC)

jmd pushed a commit to branch master
in repository guix.

commit 7b706a49300d43778527eacfb5087d8bce11dcd2
Author: John Darrington <address@hidden>
Date:   Wed Dec 7 15:23:52 2016 +0100

    gnu: Fix path to /etc/netconfig in libtirpc.
    
    * 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"))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]