gnu: Fix path to /etc/netconfig in libtirpc.
* gnu/packages/onc-rpc.scm (libtirpc) [arguments]: Replace "/etc/netconfig" with (string-append %output "/etc/netconfig")
This commit is contained in:
		
							parent
							
								
									a69bc7071e
								
							
						
					
					
						commit
						7b706a4930
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		|  | @ -43,6 +43,14 @@ | ||||||
|        (modify-phases %standard-phases |        (modify-phases %standard-phases | ||||||
|          (add-after 'unpack 'remote-dangling-symlink |          (add-after 'unpack 'remote-dangling-symlink | ||||||
|            (lambda _ |            (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 |              ;; Remove the dangling symlinks since it breaks the | ||||||
|              ;; 'patch-source-shebangs' file tree traversal. |              ;; 'patch-source-shebangs' file tree traversal. | ||||||
|              (delete-file "INSTALL")))))) |              (delete-file "INSTALL")))))) | ||||||
|  |  | ||||||
		Reference in a new issue