diff options
author | Ludovic Courtès <ludo@gnu.org> | 2016-09-07 18:33:33 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-09-07 18:42:46 +0200 |
commit | 757ce0f99d5ffed86ee3258eef6c8841e82e1116 (patch) | |
tree | 549d36a3874f882779e972831e0d850ac3e0006d /gnu/packages | |
parent | ffc72ec6dfb02bca3e282ccc1b6c00da6e7fbcaf (diff) | |
download | guix-patches-757ce0f99d5ffed86ee3258eef6c8841e82e1116.tar guix-patches-757ce0f99d5ffed86ee3258eef6c8841e82e1116.tar.gz |
gnu: guile-commonmark: Remove hard-coded "/2.0" in installation directories.
* gnu/packages/guile.scm (guile-commonmark)[source]: Add 'snippet' and
'modules'.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/guile.scm | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm index bd9902d427..4276e34080 100644 --- a/gnu/packages/guile.scm +++ b/gnu/packages/guile.scm @@ -1206,7 +1206,18 @@ you send to a FIFO file.") "/" name "-" version ".tar.gz")) (sha256 (base32 - "12cb5fqvvgc87f5xp0ih5az305wnjia89l5jba83d0r2p8bfy0b0")))) + "12cb5fqvvgc87f5xp0ih5az305wnjia89l5jba83d0r2p8bfy0b0")) + (modules '((guix build utils))) + (snippet + ;; Use the real effective version of Guile in directory names + ;; instead of a hard-coded "/2.0". + '(begin + (substitute* "configure" + (("ac_subst_vars='") + "ac_subst_vars='GUILE_EFFECTIVE_VERSION\n")) + (substitute* "Makefile.in" + (("/site/2.0") + "/site/@GUILE_EFFECTIVE_VERSION@")))))) (build-system gnu-build-system) (inputs `(("guile" ,guile-2.0))) |