[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
150/207: gnu: Add make-mesboot 3.79.
From: |
Jan Nieuwenhuizen |
Subject: |
150/207: gnu: Add make-mesboot 3.79. |
Date: |
Sat, 8 Sep 2018 13:26:22 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit be806e985983bebbe9ce1ef794ab58bf4f65d84f
Author: Jan Nieuwenhuizen <address@hidden>
Date: Mon Aug 27 01:18:54 2018 +0200
gnu: Add make-mesboot 3.79.
* gnu/packages/commencement.scm (make-mesboot): New variable.
---
gnu/packages/commencement.scm | 55 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 9ad8ab8..6c21ab8 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -546,6 +546,61 @@
(copy-file "libtcc1.a" (string-append out
"/lib/tcc/libtcc1.a"))))))))))))
+(define-public make-mesboot
+ (package-with-bootstrap-guile
+ (package
+ (inherit gnu-make)
+ (name "make-mesboot")
+ (version "3.79")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://gnu/make/make-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1hkss2hajbigk61fppfkvmw242zbkh6wfzg9ksbpqbhyszwy1gg4"))))
+ (supported-systems '("i686-linux"))
+ (inputs '())
+ (propagated-inputs '())
+ (native-inputs `(("tcc" ,tcc-boot)
+
+ ("bash" ,%bootstrap-coreutils&co)
+ ("coreutils" ,%bootstrap-coreutils&co)))
+ (arguments
+ `(#:implicit-inputs? #f
+ #:tests? #f ; check depends on perl
+ #:guile ,%bootstrap-guile
+ #: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")))
+ (unsetenv "C_INCLUDE_PATH")
+ (unsetenv "LIBRARY_PATH")
+ (setenv "CONFIG_SHELL" (string-append
+ (assoc-ref %build-inputs "bash")
+ "/bin/sh"))
+ (setenv "CC" "tcc -g -static")
+ (setenv "CPP" "tcc -E")
+ (format (current-error-port) "PATH=~a\n" (getenv "PATH"))
+ (zero?
+ (system* "./configure"
+ (string-append "--prefix=" out))))))
+ (delete 'patch-generated-file-shebangs) ; no perl
+ (replace 'build
+ (lambda _
+ (zero? (system* "sh" "./build.sh"))))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (install-file "make" bin))))))))))
+
(define-public binutils-mesboot0
(package-with-bootstrap-guile
(package/inherit
- 180/207: gnu: make-mesboot0: Cleanup., (continued)
- 180/207: gnu: make-mesboot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 80/207: gnu: Add gcc-core-boot 2.95.3., Jan Nieuwenhuizen, 2018/09/08
- 173/207: gnu: Add mesboot-headers., Jan Nieuwenhuizen, 2018/09/08
- 122/207: gnu: tcc-boot: Revise dependencies., Jan Nieuwenhuizen, 2018/09/08
- 97/207: gnu: gcc-boot: build with %cheat-binutils?, Jan Nieuwenhuizen, 2018/09/08
- 148/207: gnu: mes-boot: Update to 0.17.1., Jan Nieuwenhuizen, 2018/09/08
- 156/207: Revert "gnu: Add %bootstrap-make.", Jan Nieuwenhuizen, 2018/09/08
- 170/207: gnu: make-mesboot: Update to 3.82., Jan Nieuwenhuizen, 2018/09/08
- 105/207: gnu: binutils-mesboot: Rename from binutils-boot., Jan Nieuwenhuizen, 2018/09/08
- 137/207: gnu: tcc-boot: Use gnu-build-system., Jan Nieuwenhuizen, 2018/09/08
- 150/207: gnu: Add make-mesboot 3.79.,
Jan Nieuwenhuizen <=
- 191/207: gnu: glibc-headers-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 165/207: Revert "gnu: make-boot0: Set LOADLIBES for i686-linux.", Jan Nieuwenhuizen, 2018/09/08
- 142/207: gnu: Add %linux-libre-headers-stripped, %linux-libre-headers-bootstrap-tarball., Jan Nieuwenhuizen, 2018/09/08
- 103/207: gnu: glibc-mesboot: Rename from glibc-boot., Jan Nieuwenhuizen, 2018/09/08
- 194/207: oops: fixup glibc-bootstrap-system-2.16.0.patch name., Jan Nieuwenhuizen, 2018/09/08
- 111/207: gnu: m4-mesboot: Package with boostrap-guile., Jan Nieuwenhuizen, 2018/09/08
- 145/207: bootstrap: Integrate mes bootstrap for i686-linux., Jan Nieuwenhuizen, 2018/09/08
- 96/207: gnu: Add binutils-boot0-cheat., Jan Nieuwenhuizen, 2018/09/08
- 133/207: bootstrap: Move mes seeds to bootstrap.scm, Jan Nieuwenhuizen, 2018/09/08
- 146/207: gnu: %mes-seed: Update for mes 0.17.1., Jan Nieuwenhuizen, 2018/09/08