diff options
author | John Darrington <jmd@gnu.org> | 2016-12-07 15:23:52 +0100 |
---|---|---|
committer | John Darrington <jmd@gnu.org> | 2016-12-08 08:30:57 +0100 |
commit | 7b706a49300d43778527eacfb5087d8bce11dcd2 (patch) | |
tree | 87a6e6fb2b8d08a08a6d79c1a782ec6d1ea2c27c /gnu/packages/onc-rpc.scm | |
parent | a69bc7071ec05ed896dcc14f613c88023b6b2f80 (diff) |
gnu: Fix path to /etc/netconfig in libtirpc.
* gnu/packages/onc-rpc.scm (libtirpc) [arguments]: Replace "/etc/netconfig"
with (string-append %output "/etc/netconfig")
Diffstat (limited to 'gnu/packages/onc-rpc.scm')
-rw-r--r-- | gnu/packages/onc-rpc.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/onc-rpc.scm b/gnu/packages/onc-rpc.scm index 0bcc885c39..8ef3e9f112 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")))))) |