From 73138fd146a1449df77ee26cc5717b18cb15d84a Mon Sep 17 00:00:00 2001 From: "Z. Ren" Date: Sun, 10 Dec 2017 22:23:32 +0800 Subject: gnu: skalibs: Fix non-reproducibility issue. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/skarnet.scm (skalibs)[arguments]: In 'reproducible' phase, insert a 'sort' call in "Makefile". Signed-off-by: Ludovic Courtès --- gnu/packages/skarnet.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/skarnet.scm b/gnu/packages/skarnet.scm index 5a46b0db64..ce6fdc709d 100644 --- a/gnu/packages/skarnet.scm +++ b/gnu/packages/skarnet.scm @@ -47,8 +47,8 @@ (define-public skalibs ;; Sort source files deterministically so that the *.a ;; and *.so files are reproducible. (substitute* "Makefile" - (("\\$\\(ALL_SRCS:%.c=%.o\\)") - "$(sort $(ALL_SRCS:%.c=%.o))")) + (("\\$\\(wildcard src/lib\\*/\\*.c\\)") + "$(sort $(wildcard src/lib*/*.c))")) #t))))) (home-page "http://skarnet.org/software/skalibs/") (synopsis "Platform abstraction libraries for skarnet.org software") -- cgit v1.2.3