guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: r: Fix syntax for INSTALL_OPTS.


From: Ricardo Wurmus
Subject: 01/02: gnu: r: Fix syntax for INSTALL_OPTS.
Date: Wed, 8 Mar 2017 06:33:27 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 745c687be3fa6eeee97bd70141104156d8d8b811
Author: Ricardo Wurmus <address@hidden>
Date:   Thu Feb 9 14:34:57 2017 +0100

    gnu: r: Fix syntax for INSTALL_OPTS.
    
    This is a follow-up to commit 4621acfd8272fa93d0530faa5f015b26a194b587.
    
    * gnu/packages/statistics.scm (r)[arguments]: Ensure that
    "--built-timestamp" appears on the same line as the other INSTALL_OPTS.
---
 gnu/packages/statistics.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index bfa4caf..db719f6 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -131,8 +131,9 @@ be output in text, PostScript, PDF or HTML.")
          (add-after 'unpack 'build-recommended-packages-reproducibly
            (lambda _
              (substitute* "src/library/Recommended/Makefile.in"
-               (("INSTALL_OPTS =.*" line)
-                (string-append line " --built-timestamp=1970-01-01")))
+               (("INSTALL_OPTS =(.*)" line rest )
+                (string-append "INSTALL_OPTS = --built-timestamp=1970-01-01"
+                               rest)))
              #t))
          (add-before 'configure 'set-default-pager
           ;; Set default pager to "cat", because otherwise it is "false",



reply via email to

[Prev in Thread] Current Thread [Next in Thread]