[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
181/192: gnu: diffutils-mesboot: Cleanup.
From: |
Jan Nieuwenhuizen |
Subject: |
181/192: gnu: diffutils-mesboot: Cleanup. |
Date: |
Mon, 3 Sep 2018 16:25:23 -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
- 117/192: gnu: Remove gcc-mesboot-4.1.0., (continued)
- 117/192: gnu: Remove gcc-mesboot-4.1.0., Jan Nieuwenhuizen, 2018/09/03
- 141/192: gnu: Add %bootstrap-diffutils., Jan Nieuwenhuizen, 2018/09/03
- 156/192: Revert "gnu: Add %bootstrap-make.", Jan Nieuwenhuizen, 2018/09/03
- 127/192: gnu: binutils-mesboot: Revise dependencies., Jan Nieuwenhuizen, 2018/09/03
- 147/192: gnu: %tinycc-seed: Update for mes 0.17.1., Jan Nieuwenhuizen, 2018/09/03
- 144/192: gnu: bootstrap-tarballs: Update inputs for i686-linux., Jan Nieuwenhuizen, 2018/09/03
- 159/192: gcc-mesboot: use package-full-name "-" :-), Jan Nieuwenhuizen, 2018/09/03
- 170/192: gnu: make-mesboot: Update to 3.82., Jan Nieuwenhuizen, 2018/09/03
- 166/192: gnu: file-boot0: Do not strip binaries or validate-runpath., Jan Nieuwenhuizen, 2018/09/03
- 169/192: bootstrap: Evaluate %bootstrap-inputs+toolchain at build time., Jan Nieuwenhuizen, 2018/09/03
- 181/192: gnu: diffutils-mesboot: Cleanup.,
Jan Nieuwenhuizen <=
- 140/192: gnu: Add %diffutils-static, %diffutils-static-stripped, %diffutils-bootstrap-tarball., Jan Nieuwenhuizen, 2018/09/03
- 149/192: gnu: tcc-boot: Update for mes 0.17.1., Jan Nieuwenhuizen, 2018/09/03
- 143/192: gnu: Add %bootstrap-linux-libre-headers., Jan Nieuwenhuizen, 2018/09/03
- 155/192: Revert "gnu: Add %diffutils-static, %diffutils-static-stripped, %diffutils-bootstrap-tarball.", Jan Nieuwenhuizen, 2018/09/03
- 165/192: Revert "gnu: make-boot0: Set LOADLIBES for i686-linux.", Jan Nieuwenhuizen, 2018/09/03
- 168/192: gnu: gcc-mesboot-wrapper: Wrap g++ too., Jan Nieuwenhuizen, 2018/09/03
- 172/192: copy-linux-headers: Update for glibc-2.16.0., Jan Nieuwenhuizen, 2018/09/03
- 171/192: %bootstrap-linux-libre-headers: Update, Jan Nieuwenhuizen, 2018/09/03
- 178/192: gnu: tcc-boot0: Cleanup., Jan Nieuwenhuizen, 2018/09/03
- 120/192: gnu: mes-boot: Update to 0.16.1; revise dependencies., Jan Nieuwenhuizen, 2018/09/03