aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-01-01 12:56:10 +0100
committerRicardo Wurmus <rekado@elephly.net>2017-01-01 13:55:50 +0100
commitc26ba570cce88a9c2529df722042648e34181e42 (patch)
treebf8cd32121fe6b3e0f4f77e35c6ee44af9112b0c
parent636c77d0662503fa64c82bdb38e2754470e4192a (diff)
downloadpatches-c26ba570cce88a9c2529df722042648e34181e42.tar
patches-c26ba570cce88a9c2529df722042648e34181e42.tar.gz
gnu: clisp: Remove timestamps.
* gnu/packages/lisp.scm (clisp)[arguments]: Add "remove-timestamps" phase to remove "__DATE__" and "__TIME__".
-rw-r--r--gnu/packages/lisp.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 51f4faa3df..e226443626 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -221,6 +221,11 @@ supporting ASDF, Sockets, Gray streams, MOP, and other useful components.")
(substitute* '("src/clisp-link.in")
(("/bin/pwd") "pwd"))
#t))
+ (add-after 'unpack 'remove-timestamps
+ (lambda _
+ (substitute* "src/constobj.d"
+ (("__DATE__ __TIME__") "\"1\""))
+ #t))
(add-before 'build 'chdir-to-source
(lambda _
;; We are supposed to call make under the src sub-directory.