summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-09-06 10:43:01 +0200
committerLudovic Courtès <ludo@gnu.org>2018-09-06 10:43:01 +0200
commit96d6c41dfa5d69d4f25c8b53cb74e2ee621165d6 (patch)
treea8cc1a540e8a847d4338b165b6d353304884d3e1 /gnu
parentd53aeeafccb91fd03c6c540153720717eceb92a4 (diff)
downloadguix-96d6c41dfa5d69d4f25c8b53cb74e2ee621165d6.tar.gz
gnu: guile-commonmark: Install .go files to libdir.
* gnu/packages/guile.scm (guile-commonmark)[source](snippet): Change the
"modir = " and "godir = " line separately, allowing .go files to be
installed to $(libdir).
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/guile.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index f594cd13ed..335bd6219f 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -1612,8 +1612,10 @@ you send to a FIFO file.")
                     (("ac_subst_vars='")
                      "ac_subst_vars='GUILE_EFFECTIVE_VERSION\n"))
                   (substitute* "Makefile.in"
-                    (("/site/2.0")
-                     "/site/@GUILE_EFFECTIVE_VERSION@"))
+                    (("moddir =.*")
+                     "moddir = $(datadir)/guile/site/@GUILE_EFFECTIVE_VERSION@\n")
+                    (("godir =.*")
+                     "godir = $(libdir)/guile/@GUILE_EFFECTIVE_VERSION@/site-ccache\n"))
                   #t))))
     (build-system gnu-build-system)
     (inputs