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:
Ludovic Courtès 2017-04-06 10:41:59 +02:00
parent 234ea3d653
commit 7295087eb1
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 8 additions and 4 deletions

View File

@ -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")))