arunisaac pushed a commit to branch master
in repository guix.

commit b18b9d204217c5e90afae0a7a71e82a21748f8e1
Author: Arun Isaac <[email protected]>
Date:   Thu Jan 3 21:56:26 2019 +0530

    gnu: octave: Fix makeinfo path configuration.
    
    * gnu/packages/maths.scm (octave-cli)[arguments]: Fix makeinfo path
    configuration in configure-makeinfo phase.
---
 gnu/packages/maths.scm | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 448d9e3..e67bc5e 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -19,7 +19,7 @@
 ;;; Copyright © 2017 Nils Gillmann <[email protected]>
 ;;; Copyright © 2017 Ben Woodcroft <[email protected]>
 ;;; Copyright © 2017 Theodoros Foradis <[email protected]>
-;;; Copyright © 2017 Arun Isaac <[email protected]>
+;;; Copyright © 2017, 2019 Arun Isaac <[email protected]>
 ;;; Copyright © 2017, 2018 Tobias Geerinckx-Rice <[email protected]>
 ;;; Copyright © 2017 Dave Love <me@[email protected]>
 ;;; Copyright © 2018 Jan Nieuwenhuizen <[email protected]>
@@ -1484,11 +1484,10 @@ can solve two kinds of problems:
        (modify-phases %standard-phases
          (add-after 'configure 'configure-makeinfo
            (lambda* (#:key inputs #:allow-other-keys)
-             (substitute* "libinterp/corefcn/help.cc"
-               (("Vmakeinfo_program = \"makeinfo\"")
-                (string-append "Vmakeinfo_program = \""
-                               (assoc-ref inputs "texinfo")
-                               "/bin/makeinfo\"")))
+             (substitute* "libinterp/corefcn/help.h"
+               (("\"makeinfo\"")
+                (string-append
+                 "\"" (assoc-ref inputs "texinfo") "/bin/makeinfo\"")))
              #t)))))
     (home-page "https://www.gnu.org/software/octave/";)
     (synopsis "High-level language for numerical computation")

Reply via email to