gnu: guile-aspell: Remove hard-coded "site/2.0" from $(guilesitedir).
* gnu/packages/guile.scm (guile-aspell)[arguments]: Remove #:configure-flags. Add 'set-guilesitedir' phase.
This commit is contained in:
		
							parent
							
								
									234ea3d653
								
							
						
					
					
						commit
						7295087eb1
					
				
					 1 changed files with 8 additions and 4 deletions
				
			
		| 
						 | 
					@ -1531,10 +1531,14 @@ type system, elevating types to first-class status.")
 | 
				
			||||||
                "0vpk5xj9m9qc702z3khmkwhgpb949qbsyz8kw2qycda6qnxk0077"))))
 | 
					                "0vpk5xj9m9qc702z3khmkwhgpb949qbsyz8kw2qycda6qnxk0077"))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     '(#:configure-flags (list (string-append "--with-guilesitedir="
 | 
					     '(#:phases (modify-phases %standard-phases
 | 
				
			||||||
                                              (assoc-ref %outputs "out")
 | 
					                  (add-before 'configure 'set-guilesitedir
 | 
				
			||||||
                                              "/share/guile/site/2.0"))
 | 
					                    (lambda _
 | 
				
			||||||
       #:phases (modify-phases %standard-phases
 | 
					                      (substitute* "Makefile.in"
 | 
				
			||||||
 | 
					                        (("^guilesitedir =.*$")
 | 
				
			||||||
 | 
					                         "guilesitedir = \
 | 
				
			||||||
 | 
					$(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n"))
 | 
				
			||||||
 | 
					                      #t))
 | 
				
			||||||
                  (add-before 'build 'set-libaspell-file-name
 | 
					                  (add-before 'build 'set-libaspell-file-name
 | 
				
			||||||
                    (lambda* (#:key inputs #:allow-other-keys)
 | 
					                    (lambda* (#:key inputs #:allow-other-keys)
 | 
				
			||||||
                      (let ((aspell (assoc-ref inputs "aspell")))
 | 
					                      (let ((aspell (assoc-ref inputs "aspell")))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue