From: Josselin Poiret via Guix-patches via <guix-patches@gnu.org>
To: Josselin Poiret <dev@jpoiret.xyz>, 63014@debbugs.gnu.org
Subject: [bug#63014] [PATCH 1/2] gnu: bmake: Switch to G-Exps.
Date: Sat, 22 Apr 2023 13:55:36 +0200 [thread overview]
Message-ID: <a8dde2e358f7edd46ffd01803de703f8d44ee13b.1682164537.git.dev@jpoiret.xyz> (raw)
In-Reply-To: <cover.1682164423.git.dev@jpoiret.xyz>
* gnu/packages/build-tools.scm (bmake): Switch to G-Exps.
---
gnu/packages/build-tools.scm | 43 ++++++++++++++++++------------------
1 file changed, 22 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/build-tools.scm b/gnu/packages/build-tools.scm
index e1c9b14bb2..0b0e979faa 100644
--- a/gnu/packages/build-tools.scm
+++ b/gnu/packages/build-tools.scm
@@ -185,27 +185,28 @@ (define-public bmake
(native-inputs
(list coreutils))
(arguments
- `(#:tests? #f ; test during build
- #:phases
- (modify-phases %standard-phases
- (add-after 'configure 'fix-test ; fix from nixpkgs
- (lambda _
- (substitute* "unit-tests/unexport-env.mk"
- (("PATH=\t/bin:/usr/bin:/sbin:/usr/sbin")
- "PATH := ${PATH}"))))
- (add-after 'configure 'remove-fail-tests
- (lambda _
- (substitute* "unit-tests/Makefile"
- (("cmd-interrupt") "")
- (("varmod-localtime") "")))))
- #:configure-flags
- (list
- (string-append
- "--with-defshell=" (assoc-ref %build-inputs "bash") "/bin/bash")
- (string-append
- "--with-default-sys-path=" (assoc-ref %outputs "out") "/share/mk"))
- #:make-flags
- (list "INSTALL=install"))) ;; use coreutils install
+ (list
+ #:tests? #f ; test during build
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'configure 'fix-test ; fix from nixpkgs
+ (lambda _
+ (substitute* "unit-tests/unexport-env.mk"
+ (("PATH=\t/bin:/usr/bin:/sbin:/usr/sbin")
+ "PATH := ${PATH}"))))
+ (add-after 'configure 'remove-fail-tests
+ (lambda _
+ (substitute* "unit-tests/Makefile"
+ (("cmd-interrupt") "")
+ (("varmod-localtime") "")))))
+ #:configure-flags
+ #~(list
+ (string-append
+ "--with-defshell=" #$(this-package-input "bash-minimal") "/bin/bash")
+ (string-append
+ "--with-default-sys-path=" #$output "/share/mk"))
+ #:make-flags
+ #~(list "INSTALL=install"))) ;; use coreutils install
(home-page "http://www.crufty.net/help/sjg/bmake.htm")
(synopsis "BSD's make")
(description
base-commit: 3f7ae420d8a54d4e2ab7f349c40d8930fe9e0771
--
2.39.2
next prev parent reply other threads:[~2023-04-22 11:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-22 11:54 [bug#63014] [PATCH core-updates 0/2] Fix bmake build Josselin Poiret via Guix-patches via
2023-04-22 11:55 ` Josselin Poiret via Guix-patches via [this message]
2023-04-22 11:55 ` [bug#63014] [PATCH 2/2] gnu: bmake: Update to 20230321 Josselin Poiret via Guix-patches via
2023-04-22 20:25 ` bug#63014: Close Andreas Enge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a8dde2e358f7edd46ffd01803de703f8d44ee13b.1682164537.git.dev@jpoiret.xyz \
--to=guix-patches@gnu.org \
--cc=63014@debbugs.gnu.org \
--cc=dev@jpoiret.xyz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).