aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2017-02-09 14:34:57 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-03-08 12:32:49 +0100
commit745c687be3fa6eeee97bd70141104156d8d8b811 (patch)
tree85f5c902cb7528f13a5079aacea95b6dcd329a7b
parent6c5b56f9fa01b7fe9034bac47b20e08a2fdb2629 (diff)
downloadpatches-745c687be3fa6eeee97bd70141104156d8d8b811.tar
patches-745c687be3fa6eeee97bd70141104156d8d8b811.tar.gz
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.
-rw-r--r--gnu/packages/statistics.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index bfa4cafe1e..db719f64dd 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",