me
/
guix
Archived
1
0
Fork 0

gnu: clisp: Remove timestamps.

* gnu/packages/lisp.scm (clisp)[arguments]: Add "remove-timestamps"
phase to remove "__DATE__" and "__TIME__".
master
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
1 changed files with 5 additions and 0 deletions

View File

@ -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.