gnu: bitlbee-discord: Fix build.
* gnu/packages/messaging.scm (bitlbee-discord)[phases]{configure}: Delete
override and move the configure flags to...
[configure-flags]: ... here.  Specify the '--with-bdatadir' configure flag,
which resolves a build failure.
Co-authored-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
			
			
This commit is contained in:
		
							parent
							
								
									073904c553
								
							
						
					
					
						commit
						a6a4d4b843
					
				
					 1 changed files with 6 additions and 9 deletions
				
			
		| 
						 | 
					@ -592,20 +592,17 @@ identi.ca and status.net).")
 | 
				
			||||||
        (base32 "02pigk2vbz0jdz11f96sygdvp1j762yjn62h124fkcsc070g7a2f"))))
 | 
					        (base32 "02pigk2vbz0jdz11f96sygdvp1j762yjn62h124fkcsc070g7a2f"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:phases
 | 
					     `(#:configure-flags
 | 
				
			||||||
 | 
					       (let ((out (assoc-ref %outputs "out")))
 | 
				
			||||||
 | 
					         (list (string-append "--with-bdatadir=" out "/share/bitlbee/")
 | 
				
			||||||
 | 
					               (string-append "--with-plugindir=" out "/lib/bitlbee/")))
 | 
				
			||||||
 | 
					       #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         (add-after 'unpack 'patch-autogen
 | 
					         (add-after 'unpack 'patch-autogen
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             (let ((sh (which "sh")))
 | 
					             (let ((sh (which "sh")))
 | 
				
			||||||
               (substitute* "autogen.sh" (("/bin/sh") sh))
 | 
					               (substitute* "autogen.sh" (("/bin/sh") sh))
 | 
				
			||||||
               (setenv "CONFIG_SHELL" sh))
 | 
					               (setenv "CONFIG_SHELL" sh)))))))
 | 
				
			||||||
             #t))
 | 
					 | 
				
			||||||
         (replace 'configure
 | 
					 | 
				
			||||||
           (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
					 | 
				
			||||||
             (invoke "./configure"
 | 
					 | 
				
			||||||
                     (string-append "--with-plugindir="
 | 
					 | 
				
			||||||
                                    (assoc-ref outputs "out")
 | 
					 | 
				
			||||||
                                    "/lib/bitlbee/")))))))
 | 
					 | 
				
			||||||
    (inputs `(("glib" ,glib)))
 | 
					    (inputs `(("glib" ,glib)))
 | 
				
			||||||
    (native-inputs `(("pkg-config" ,pkg-config)
 | 
					    (native-inputs `(("pkg-config" ,pkg-config)
 | 
				
			||||||
                     ("autoconf" ,autoconf)
 | 
					                     ("autoconf" ,autoconf)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue