summary refs log tree commit diff
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2016-05-26 21:42:15 +0800
committer宋文武 <iyzsong@gmail.com>2016-05-28 07:27:46 +0800
commit1a6d3cd374bcff136592e04caa0dafada3352ecd (patch)
tree30f33042173133e58491848c89582acffa66e8dc
parent6242b314c24caa38f8e402b0cd9f969481fe63a5 (diff)
downloadguix-1a6d3cd374bcff136592e04caa0dafada3352ecd.tar.gz
gnu: gprolog: Don't install files into "$out/gprolog-1.4.4".
* gnu/packages/gprolog.scm (gprolog)[arguments]: Pass '--with-install-dir'
to #:configure-flags.
-rw-r--r--gnu/packages/gprolog.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/gprolog.scm b/gnu/packages/gprolog.scm
index 1d9b9943bc..87c833e947 100644
--- a/gnu/packages/gprolog.scm
+++ b/gnu/packages/gprolog.scm
@@ -38,7 +38,10 @@
         "13miyas47bmijmadm68cbvb21n4s156gjafz7kfx9brk9djfkh0q"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases (alist-cons-before
+     `(#:configure-flags
+       (list (string-append
+              "--with-install-dir=" %output "/share/gprolog"))
+       #:phases (alist-cons-before
                  'configure 'change-dir-n-fix-shells
                  (lambda _
                    (chdir "src")