[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
181/210: gnu: diffutils-mesboot: Cleanup.
From: |
Jan Nieuwenhuizen |
Subject: |
181/210: gnu: diffutils-mesboot: Cleanup. |
Date: |
Sat, 8 Sep 2018 10:36:32 -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
- 205/210: gnu: perl-boot0: Remove bootstrap leaks., (continued)
- 205/210: gnu: perl-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 187/210: gnu: make-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 208/210: gnu: nyacc: Update to 0.86.0., Jan Nieuwenhuizen, 2018/09/08
- 202/210: gnu: libstdc++-boot0: Copy libstdc++.so.6.0.20 to pass install., Jan Nieuwenhuizen, 2018/09/08
- 206/210: gnu: m4-boot0: New variable., Jan Nieuwenhuizen, 2018/09/08
- 188/210: gnu: binutils-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 185/210: gnu: glibc-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 180/210: gnu: make-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 176/210: mescc-tools-boot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 207/210: gnu: bison-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 181/210: gnu: diffutils-mesboot: Cleanup.,
Jan Nieuwenhuizen <=
- 172/210: copy-linux-headers: Update for glibc-2.16.0., Jan Nieuwenhuizen, 2018/09/08
- 190/210: gnu: gcc-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 186/210: gnu: gcc-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 189/210: gnu: make-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 194/210: oops: fixup glibc-bootstrap-system-2.16.0.patch name., Jan Nieuwenhuizen, 2018/09/08
- 209/210: gnu: nyacc-boot: Update to 0.86.0., Jan Nieuwenhuizen, 2018/09/08
- 203/210: gnu: glibc-mesboot: Drop obsolete sun rpc support., Jan Nieuwenhuizen, 2018/09/08
- 192/210: gnu: glibc-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 210/210: gnu: mes-boot0: Support Nyacc 0.86.0., Jan Nieuwenhuizen, 2018/09/08
- 200/210: gnu: findutils-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08