diff options
| author | Julien Lepiller <julien@lepiller.eu> | 2018-12-26 17:40:47 +0100 |
|---|---|---|
| committer | Julien Lepiller <julien@lepiller.eu> | 2018-12-26 18:58:02 +0100 |
| commit | 79f6fc0d9950eb96ffeea4150b1822e759efa0b7 (patch) | |
| tree | df11bd4214105216dc28d3a16d2cf8c585e2a777 | |
| parent | 7ba2b27467a39956f10e2e11061d9569e4b7d632 (diff) | |
gnu: antlr2: Fix reproducibility.
* gnu/packages/java.scm (antlr2)[arguments]: Add a phase to fix a timestamp issue.
| -rw-r--r-- | gnu/packages/java.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 054ad677310..c607cbbcc53 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm | |||
| @@ -6140,6 +6140,11 @@ printed.") | |||
| 6140 | (modify-phases %standard-phases | 6140 | (modify-phases %standard-phases |
| 6141 | (add-after 'install 'strip-jar-timestamps | 6141 | (add-after 'install 'strip-jar-timestamps |
| 6142 | (assoc-ref ant:%standard-phases 'strip-jar-timestamps)) | 6142 | (assoc-ref ant:%standard-phases 'strip-jar-timestamps)) |
| 6143 | (add-before 'configure 'fix-timestamp | ||
| 6144 | (lambda _ | ||
| 6145 | (substitute* "configure" | ||
| 6146 | (("^TIMESTAMP.*") "TIMESTAMP=19700101\n")) | ||
| 6147 | #t)) | ||
| 6143 | (add-after 'configure 'fix-bin-ls | 6148 | (add-after 'configure 'fix-bin-ls |
| 6144 | (lambda _ | 6149 | (lambda _ |
| 6145 | (substitute* (find-files "." "Makefile") | 6150 | (substitute* (find-files "." "Makefile") |
