gnu: r: Fix syntax for INSTALL_OPTS.

This is a follow-up to commit 4621acfd82.

* gnu/packages/statistics.scm (r)[arguments]: Ensure that
"--built-timestamp" appears on the same line as the other INSTALL_OPTS.
This commit is contained in:
Ricardo Wurmus 2017-02-09 14:34:57 +01:00 committed by Ricardo Wurmus
parent 6c5b56f9fa
commit 745c687be3
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 3 additions and 2 deletions

View File

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