[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
150/210: gnu: Add make-mesboot 3.79.
From: |
Jan Nieuwenhuizen |
Subject: |
150/210: gnu: Add make-mesboot 3.79. |
Date: |
Sat, 8 Sep 2018 10:36:24 -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
- 179/210: gnu: tcc-boot: Cleanup., (continued)
- 179/210: gnu: tcc-boot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 173/210: gnu: Add mesboot-headers., Jan Nieuwenhuizen, 2018/09/08
- 169/210: bootstrap: Evaluate %bootstrap-inputs+toolchain at build time., Jan Nieuwenhuizen, 2018/09/08
- 166/210: gnu: file-boot0: Do not strip binaries or validate-runpath., Jan Nieuwenhuizen, 2018/09/08
- 198/210: gnu: Add gcc-mesboot-4.9.4., Jan Nieuwenhuizen, 2018/09/08
- 145/210: bootstrap: Integrate mes bootstrap for i686-linux., Jan Nieuwenhuizen, 2018/09/08
- 66/210: gnu: binutils-boot: Update to 2.30., Jan Nieuwenhuizen, 2018/09/08
- 160/210: gnu: Add mpc-boot 1.0.3., Jan Nieuwenhuizen, 2018/09/08
- 155/210: Revert "gnu: Add %diffutils-static, %diffutils-static-stripped, %diffutils-bootstrap-tarball.", Jan Nieuwenhuizen, 2018/09/08
- 156/210: Revert "gnu: Add %bootstrap-make.", Jan Nieuwenhuizen, 2018/09/08
- 150/210: gnu: Add make-mesboot 3.79.,
Jan Nieuwenhuizen <=
- 193/210: gnu: glibc-mesboot: Oops, install everything., Jan Nieuwenhuizen, 2018/09/08
- 171/210: %bootstrap-linux-libre-headers: Update, Jan Nieuwenhuizen, 2018/09/08
- 174/210: gnu: glibc-mesboot: Update to 2.16.0., Jan Nieuwenhuizen, 2018/09/08
- 168/210: gnu: gcc-mesboot-wrapper: Wrap g++ too., Jan Nieuwenhuizen, 2018/09/08
- 163/210: Add new cheat: use %bootstrap-glibc for x86 for now., Jan Nieuwenhuizen, 2018/09/08
- 158/210: gnu: Add make-mesboot0 3.80, Jan Nieuwenhuizen, 2018/09/08
- 153/210: bootstrap: Remove dependency on %bootstrap-make, %bootstrap-diffutils., Jan Nieuwenhuizen, 2018/09/08
- 152/210: gnu: make-mesboot: Update to 3.80., Jan Nieuwenhuizen, 2018/09/08
- 149/210: gnu: tcc-boot: Update for mes 0.17.1., Jan Nieuwenhuizen, 2018/09/08
- 144/210: gnu: bootstrap-tarballs: Update inputs for i686-linux., Jan Nieuwenhuizen, 2018/09/08