gnu: munge: Fix cross-compiling.
* gnu/packages/admin.scm (munge)[arguments]: Add configure-flag to set path to libgcrypt prefix. Add configure flags when cross-compiling to assume support for pipes.
This commit is contained in:
		
							parent
							
								
									bf0389a380
								
							
						
					
					
						commit
						b103d8e490
					
				
					 1 changed files with 9 additions and 2 deletions
				
			
		|  | @ -3017,10 +3017,17 @@ displays a table of current bandwidth usage by pairs of hosts.") | ||||||
|      (list openssl libgcrypt)) |      (list openssl libgcrypt)) | ||||||
|     (build-system gnu-build-system) |     (build-system gnu-build-system) | ||||||
|     (arguments |     (arguments | ||||||
|      '(#:configure-flags |      `(#:configure-flags | ||||||
|        (list "--localstatedir=/var" |        (list "--localstatedir=/var" | ||||||
|              (string-append "--with-pkgconfigdir=" |              (string-append "--with-pkgconfigdir=" | ||||||
|                             (assoc-ref %outputs "out") "/lib/pkgconfig")) |                             (assoc-ref %outputs "out") "/lib/pkgconfig") | ||||||
|  |              (string-append "--with-libgcrypt-prefix=" | ||||||
|  |                             (assoc-ref %build-inputs "libgcrypt")) | ||||||
|  |              ,@(if (%current-target-system) | ||||||
|  |                  ;; Assume yes on pipes when cross compiling. | ||||||
|  |                  `("ac_cv_file__dev_spx=yes" | ||||||
|  |                    "x_ac_cv_check_fifo_recvfd=yes") | ||||||
|  |                  '())) | ||||||
|        #:phases |        #:phases | ||||||
|        (modify-phases %standard-phases |        (modify-phases %standard-phases | ||||||
|          ;; XXX Many test series fail.  Some might be fixable, others do no-no |          ;; XXX Many test series fail.  Some might be fixable, others do no-no | ||||||
|  |  | ||||||
		Reference in a new issue