[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
181/207: gnu: diffutils-mesboot: Cleanup.
From: |
Jan Nieuwenhuizen |
Subject: |
181/207: gnu: diffutils-mesboot: Cleanup. |
Date: |
Sat, 8 Sep 2018 13:26:27 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 89fd946847be7d3ccb385829d6fe89e31e492750
Author: Jan Nieuwenhuizen <address@hidden>
Date: Mon Sep 3 11:51:11 2018 +0200
gnu: diffutils-mesboot: Cleanup.
* gnu/packages/commencement.scm (diffutils-mesboot): Cleanup.
---
gnu/packages/commencement.scm | 27 +++++++++++----------------
1 file changed, 11 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 2e06e20..b70f68b 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -635,28 +635,23 @@
`(#:implicit-inputs? #f
#:guile ,%bootstrap-guile
#:parallel-build? #f
- ;;FIXME: why doesn't this work?
- ;;#:make-flags '("PROGRAMS=\"cmp diff\"")
#:tests? #f ; check is naive, also checks non-built PROGRAMS
+ #:strip-binaries? #f ; no strip yet
#:phases
(modify-phases %standard-phases
+ ;; diffutils-2.7 needs more traditional configure
+ (replace 'configure
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out"))
+ (bash (assoc-ref %build-inputs "bash")))
+ (setenv "CONFIG_SHELL" (string-append bash "/bin/sh"))
+ (setenv "CC" "tcc")
+ (setenv "LD" "tcc")
+ (invoke "./configure" (string-append "--prefix=" out)))))
(add-before 'configure 'remove-diff3-sdiff
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "Makefile.in"
- (("PROGRAMS = .*" all) "PROGRAMS = cmp diff"))))
- (replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (unsetenv "C_INCLUDE_PATH")
- (unsetenv "LIBRARY_PATH")
- (setenv "CONFIG_SHELL" (string-append
- (assoc-ref %build-inputs "bash")
- "/bin/sh"))
- (setenv "CC" "tcc -static")
- (setenv "CPP" "tcc -E")
- (zero?
- (system* "./configure"
- (string-append "--prefix=" out))))))))))))
+ (("PROGRAMS = .*" all) "PROGRAMS = cmp diff"))))))))))
(define-public binutils-mesboot0
- 174/207: gnu: glibc-mesboot: Update to 2.16.0., (continued)
- 174/207: gnu: glibc-mesboot: Update to 2.16.0., Jan Nieuwenhuizen, 2018/09/08
- 128/207: gnu: gcc-mesboot: Revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 47/207: gnu: %tinycc-seed: Update for mes 0.13., Jan Nieuwenhuizen, 2018/09/08
- 206/207: gnu: m4-boot0: New variable., Jan Nieuwenhuizen, 2018/09/08
- 172/207: copy-linux-headers: Update for glibc-2.16.0., Jan Nieuwenhuizen, 2018/09/08
- 141/207: gnu: Add %bootstrap-diffutils., Jan Nieuwenhuizen, 2018/09/08
- 199/207: gnu: diffutils-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 93/207: gnu: Add tcc-boot 0.9.27., Jan Nieuwenhuizen, 2018/09/08
- 187/207: gnu: make-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 154/207: Revert "gnu: Add %bootstrap-diffutils.", Jan Nieuwenhuizen, 2018/09/08
- 181/207: gnu: diffutils-mesboot: Cleanup.,
Jan Nieuwenhuizen <=
- 66/207: gnu: binutils-boot: Update to 2.30., Jan Nieuwenhuizen, 2018/09/08
- 203/207: gnu: glibc-mesboot: Drop obsolete sun rpc support., Jan Nieuwenhuizen, 2018/09/08
- 157/207: Revert "gnu: Add %make-static, %make-static-stripped, %make-bootstrap-tarball.", Jan Nieuwenhuizen, 2018/09/08
- 177/207: gnu: mes-boot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 123/207: gnu: binutils-mesboot0: Revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 120/207: gnu: mes-boot: Update to 0.16.1; revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 171/207: %bootstrap-linux-libre-headers: Update, Jan Nieuwenhuizen, 2018/09/08
- 158/207: gnu: Add make-mesboot0 3.80, Jan Nieuwenhuizen, 2018/09/08
- 198/207: gnu: Add gcc-mesboot-4.9.4., Jan Nieuwenhuizen, 2018/09/08
- 205/207: gnu: perl-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08