diff mbox

gnu: gprolog: Don't install files into "$out/gprolog-1.4.4".

Message ID 1464270418-19773-1-git-send-email-iyzsong@gmail.com
State New
Headers show

Commit Message

宋文武 May 26, 2016, 1:46 p.m. UTC
* gnu/packages/gprolog.scm (gprolog)[arguments]: Pass '--with-install-dir'
to #:configure-flags.
---
 gnu/packages/gprolog.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Leo Famulari May 27, 2016, 5:45 p.m. UTC | #1
On Thu, May 26, 2016 at 09:46:58PM +0800, 宋文武 wrote:
> * gnu/packages/gprolog.scm (gprolog)[arguments]: Pass '--with-install-dir'
> to #:configure-flags.

It seems like the right thing to do.
diff mbox

Patch

diff --git a/gnu/packages/gprolog.scm b/gnu/packages/gprolog.scm
index 1d9b994..87c833e 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")