gnu: txr: Update to 238.
* gnu/packages/lisp.scm (txr): Update to 238. [arguments]: Don't hardcode "cc=gcc" in configure-flags.
This commit is contained in:
		
							parent
							
								
									51bd1f5b07
								
							
						
					
					
						commit
						e91c29a491
					
				
					 1 changed files with 8 additions and 5 deletions
				
			
		| 
						 | 
					@ -806,7 +806,7 @@ enough to play the original mainframe Zork all the way through.")
 | 
				
			||||||
(define-public txr
 | 
					(define-public txr
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "txr")
 | 
					    (name "txr")
 | 
				
			||||||
    (version "235")
 | 
					    (version "238")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method git-fetch)
 | 
					       (method git-fetch)
 | 
				
			||||||
| 
						 | 
					@ -815,12 +815,15 @@ enough to play the original mainframe Zork all the way through.")
 | 
				
			||||||
             (commit (string-append "txr-" version))))
 | 
					             (commit (string-append "txr-" version))))
 | 
				
			||||||
       (file-name (git-file-name name version))
 | 
					       (file-name (git-file-name name version))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32 "0kpqk2x0sz7sqxsrhasq0xnljjlnxwhh4xjx2nii0zy2jkv4vsbn"))))
 | 
					        (base32 "0asdq4n828xb1m31s7f47mqcbjqkzxz11bwnw8v3f2249m93ync4"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     '(#:configure-flags
 | 
					     `(#:configure-flags
 | 
				
			||||||
       (list "cc=gcc"
 | 
					       (let ((target ,(%current-target-system)))
 | 
				
			||||||
             (string-append "--prefix=" (assoc-ref %outputs "out")))
 | 
					         (list (string-append "cc=" (if target
 | 
				
			||||||
 | 
					                                        (string-append target "-gcc")
 | 
				
			||||||
 | 
					                                        "gcc"))
 | 
				
			||||||
 | 
					               (string-append "--prefix=" (assoc-ref %outputs "out"))))
 | 
				
			||||||
       #:test-target "tests"
 | 
					       #:test-target "tests"
 | 
				
			||||||
       #:phases
 | 
					       #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue