aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-04-06 10:41:59 +0200
committerLudovic Courtès <ludo@gnu.org>2017-04-06 10:42:51 +0200
commit7295087eb1fad67978b7f787b8e92de3fdf70f91 (patch)
tree0ce06f774cc4c368aeb477b8fa1d1d988cbcbeb3 /gnu/packages
parent234ea3d65330af4c62b086419f23343433cd58c3 (diff)
downloadguix-7295087eb1fad67978b7f787b8e92de3fdf70f91.tar
guix-7295087eb1fad67978b7f787b8e92de3fdf70f91.tar.gz
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/guile.scm12
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 99b2ca1180..62a58dcf98 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -1531,10 +1531,14 @@ type system, elevating types to first-class status.")
"0vpk5xj9m9qc702z3khmkwhgpb949qbsyz8kw2qycda6qnxk0077"))))
(build-system gnu-build-system)
(arguments
- '(#:configure-flags (list (string-append "--with-guilesitedir="
- (assoc-ref %outputs "out")
- "/share/guile/site/2.0"))
- #:phases (modify-phases %standard-phases
+ '(#:phases (modify-phases %standard-phases
+ (add-before 'configure 'set-guilesitedir
+ (lambda _
+ (substitute* "Makefile.in"
+ (("^guilesitedir =.*$")
+ "guilesitedir = \
+$(datadir)/guile/site/$(GUILE_EFFECTIVE_VERSION)\n"))
+ #t))
(add-before 'build 'set-libaspell-file-name
(lambda* (#:key inputs #:allow-other-keys)
(let ((aspell (assoc-ref inputs "aspell")))