gnu: clisp: Remove timestamps.

* gnu/packages/lisp.scm (clisp)[arguments]: Add "remove-timestamps"
phase to remove "__DATE__" and "__TIME__".
This commit is contained in:
Ricardo Wurmus 2017-01-01 12:56:10 +01:00
parent 636c77d066
commit c26ba570cc
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -221,6 +221,11 @@ (define-public clisp
(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.