From ec7e9eeae6167bc5b16673d448e710468216ca05 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 15 Jun 2017 14:45:08 +0200 Subject: gnu: sablevm: Build reproducibly. * gnu/packages/java.scm (sablevm)[arguments]: Add build phase "remove-timestamp-for-reproducibility". --- gnu/packages/java.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 1496af7591..7bdf97f98a 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -167,6 +167,11 @@ This package provides the classpath library.") "--with-internal-libpopt=no") #:phases (modify-phases %standard-phases + (add-after 'unpack 'remove-timestamp-for-reproducibility + (lambda _ + (substitute* "src/sablevm/Makefile.in" + (("\\$\\(SVMCOMPILETIME\\)") "(unknown)")) + #t)) (add-after 'unpack 'link-with-popt (lambda _ (substitute* "src/sablevm/Makefile.in" -- cgit 1.4.1