[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
152/160: gnu: make-mesboot: Update to 3.80.
From: |
Jan Nieuwenhuizen |
Subject: |
152/160: gnu: make-mesboot: Update to 3.80. |
Date: |
Tue, 28 Aug 2018 15:56:41 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 36ecc872d2194fa9ec562b17f73419fccec580ec
Author: Jan Nieuwenhuizen <address@hidden>
Date: Tue Aug 28 01:06:07 2018 +0200
gnu: make-mesboot: Update to 3.80.
* gnu/packages/commencement.scm (make-mesboot): Update to 3.80.
---
gnu/packages/commencement.scm | 23 ++++++++++++++---------
1 file changed, 14 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index c1f3d32..b377af2 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -551,14 +551,14 @@
(package
(inherit gnu-make)
(name "make-mesboot")
- (version "3.79")
+ (version "3.80")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/make/make-"
version ".tar.gz"))
(sha256
(base32
- "1hkss2hajbigk61fppfkvmw242zbkh6wfzg9ksbpqbhyszwy1gg4"))))
+ "1pb7fb7fqf9wz9najm85qdma1xhxzf1rhj5gwrlzdsz2zm0hpcv4"))))
(supported-systems '("i686-linux"))
(inputs '())
(propagated-inputs '())
@@ -573,10 +573,6 @@
#:strip-binaries? #f ; binutil's strip b0rkes MesCC/M1/hex2 binaries
#:phases
(modify-phases %standard-phases
- (add-before 'configure 'remove-lseek-prototype
- (lambda* (#:key outputs #:allow-other-keys)
- (substitute* "make.h"
- (("^extern long int lseek.*" all) (string-append "// " all)))))
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
@@ -585,12 +581,21 @@
(setenv "CONFIG_SHELL" (string-append
(assoc-ref %build-inputs "bash")
"/bin/sh"))
- (setenv "CC" "tcc -g -static")
- (setenv "CPP" "tcc -E")
+ (setenv "CC" "tcc -g -static -DO_RDONLY=0")
+ (setenv "LD" "tcc -g -static")
(format (current-error-port) "PATH=~a\n" (getenv "PATH"))
(zero?
(system* "./configure"
- (string-append "--prefix=" out))))))
+ (string-append "--prefix=" out)
+ "--disable-nls")))))
+ (add-after 'configure 'configure-fixup
+ (lambda _
+ (substitute* "build.sh"
+ (("^REMOTE=.*") "REMOTE=stub\n")
+ (("^extras=.*") "extras=getloadavg.c\n"))
+ (substitute* "make.h"
+ (("^extern long int lseek.*" all) (string-append "// " all)))
+ #t))
(delete 'patch-generated-file-shebangs) ; no perl
(replace 'build
(lambda _
- 149/160: gnu: tcc-boot: Update for mes 0.18. WIP, (continued)
- 149/160: gnu: tcc-boot: Update for mes 0.18. WIP, Jan Nieuwenhuizen, 2018/08/28
- 127/160: gnu: binutils-mesboot: Revise dependencies., Jan Nieuwenhuizen, 2018/08/28
- 156/160: Revert "gnu: Add %bootstrap-make.", Jan Nieuwenhuizen, 2018/08/28
- 155/160: Revert "gnu: Add %diffutils-static, %diffutils-static-stripped, %diffutils-bootstrap-tarball.", Jan Nieuwenhuizen, 2018/08/28
- 147/160: gnu: %tinycc-seed: Update for mes 0.18. WIP, Jan Nieuwenhuizen, 2018/08/28
- 123/160: gnu: binutils-mesboot0: Revise dependencies., Jan Nieuwenhuizen, 2018/08/28
- 146/160: gnu: %mes-seed: Update for mes 0.18. WIP, Jan Nieuwenhuizen, 2018/08/28
- 141/160: gnu: Add %bootstrap-diffutils., Jan Nieuwenhuizen, 2018/08/28
- 157/160: Revert "gnu: Add %make-static, %make-static-stripped, %make-bootstrap-tarball.", Jan Nieuwenhuizen, 2018/08/28
- 130/160: gnu: %tinycc-seed: Update for mes 0.17., Jan Nieuwenhuizen, 2018/08/28
- 152/160: gnu: make-mesboot: Update to 3.80.,
Jan Nieuwenhuizen <=
- 136/160: gnu: tcc-boot0: Use gnu-build-system., Jan Nieuwenhuizen, 2018/08/28
- 153/160: bootstrap: Remove dependency on %bootstrap-make, %bootstrap-diffutils., Jan Nieuwenhuizen, 2018/08/28
- 117/160: gnu: Remove gcc-mesboot-4.1.0., Jan Nieuwenhuizen, 2018/08/28
- 132/160: gnu: tcc-boot0: Update for mes 0.17., Jan Nieuwenhuizen, 2018/08/28
- 129/160: gnu: %mes-seed: Update for mes 0.17., Jan Nieuwenhuizen, 2018/08/28
- 126/160: gnu: gcc-mesboot0: Revise dependencies., Jan Nieuwenhuizen, 2018/08/28
- 131/160: gnu: mes: Update to 0.17., Jan Nieuwenhuizen, 2018/08/28
- 128/160: gnu: gcc-mesboot: Revise dependencies., Jan Nieuwenhuizen, 2018/08/28
- 116/160: gnu: gcc-mesboot0: Package with bootstrap-guile., Jan Nieuwenhuizen, 2018/08/28
- 139/160: gnu: Add %bootstrap-make., Jan Nieuwenhuizen, 2018/08/28