[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
150/176: gnu: Add make-mesboot 3.79.
From: |
Jan Nieuwenhuizen |
Subject: |
150/176: gnu: Add make-mesboot 3.79. |
Date: |
Fri, 31 Aug 2018 11:20:31 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit a7c408fc127faa29410e4aa490195dfba87758ec
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 1846041..6fc37f1 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
- 84/176: gnu: mescc-tools-boot: Update for linux-4.17 elf32-header fix., (continued)
- 84/176: gnu: mescc-tools-boot: Update for linux-4.17 elf32-header fix., Jan Nieuwenhuizen, 2018/08/31
- 71/176: gnu: gcc-boot: Update to 2.95.3., Jan Nieuwenhuizen, 2018/08/31
- 100/176: gnu: m4:mesboot: Rename from m4-boot., Jan Nieuwenhuizen, 2018/08/31
- 99/176: gnu: Remove binutils-boot0-cheat., Jan Nieuwenhuizen, 2018/08/31
- 91/176: gnu: gcc-core-boot: Install libgcc2.a too., Jan Nieuwenhuizen, 2018/08/31
- 95/176: gnu: binutils-boot: Update to 2.20.1a., Jan Nieuwenhuizen, 2018/08/31
- 104/176: gnu: gcc-mesboot: Rename from gcc-boot., Jan Nieuwenhuizen, 2018/08/31
- 111/176: gnu: m4-mesboot: Package with boostrap-guile., Jan Nieuwenhuizen, 2018/08/31
- 118/176: gnu: mescc-tools-boot: Revise dependencies., Jan Nieuwenhuizen, 2018/08/31
- 128/176: gnu: gcc-mesboot: Revise dependencies., Jan Nieuwenhuizen, 2018/08/31
- 150/176: gnu: Add make-mesboot 3.79.,
Jan Nieuwenhuizen <=
- 144/176: gnu: bootstrap-tarballs: Update inputs for i686-linux., Jan Nieuwenhuizen, 2018/08/31
- 151/176: gnu: Add diffutils-mesboot 2.7., Jan Nieuwenhuizen, 2018/08/31
- 146/176: gnu: %mes-seed: Update for mes 0.18. WIP, Jan Nieuwenhuizen, 2018/08/31
- 152/176: gnu: make-mesboot: Update to 3.80., Jan Nieuwenhuizen, 2018/08/31
- 67/176: Revert "gnu: binutils-boot: Update to 2.30.", Jan Nieuwenhuizen, 2018/08/31
- 106/176: Revert: gnu: binutils-boot0: Inject AR, LD from bootstrap-binaries., Jan Nieuwenhuizen, 2018/08/31
- 156/176: Revert "gnu: Add %bootstrap-make.", Jan Nieuwenhuizen, 2018/08/31
- 133/176: bootstrap: Move mes seeds to bootstrap.scm, Jan Nieuwenhuizen, 2018/08/31
- 122/176: gnu: tcc-boot: Revise dependencies., Jan Nieuwenhuizen, 2018/08/31
- 117/176: gnu: Remove gcc-mesboot-4.1.0., Jan Nieuwenhuizen, 2018/08/31