unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Distopico <distopico@riseup.net>
To: 64688@debbugs.gnu.org
Cc: Andreas Enge <andreas@enge.fr>
Subject: [bug#64688] [PATCH v2] gnu: Add calc.
Date: Mon, 24 Jul 2023 10:27:52 -0500	[thread overview]
Message-ID: <87lef5nxbb.fsf@riseup.net> (raw)
In-Reply-To: <ZL57GHdJP_KYiQ6K@jurong>

[-- Attachment #1: Type: text/plain, Size: 1442 bytes --]


On 2023-07-24, Andreas Enge <andreas@enge.fr> wrote:

> Hello,
>
> just a few quick comments, as I do not have the time to look at the
> package in detail.
>
> Am Tue, Jul 18, 2023 at 06:28:14AM -0500 schrieb Distopico:
>> +    (outputs '("out"))
Done, removed

>
> This is the default and can thus be dropped.
>
>> +     '(#:make-flags (let ((out (assoc-ref %outputs "out")))
>
> This should probably be done with a gexp nowadays, but I do not know how;
> I suppose there are examples to look up.
>
Changed, thank you

>> +                  (add-before 'build 'patch-makefile-prefix
>> +                    (lambda _
>> +                      (substitute* "Makefile"
>> +                        ;; Replace becase there is more or less
>> +                        ;; 5 Makefile vars with /usr as default prefix
>> +                        (("=\\s?/usr/")
>> +                         "= /")))))))
>
> This is strange. The Makefile sets a variable PREFIX, but later uses
> things like
>    BINDIR= /usr/bin
> except for MacOS, where it uses
>    BINDIR= ${PREFIX}/bin
> This line even appears in the general case, but is commented out, which
> makes no sense.
>
> Maybe this could be discussed with upstream? It is also like this in the
> latest release 2.14.2.0.
>
Yeah, maybe, not big fan of github but I'll try to contact upstream
in other way, ¿it would be a blocker to add this patch to guix?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 515 bytes --]

  parent reply	other threads:[~2023-07-24 15:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-17 18:36 [bug#64688] [PATCH] gnu: Add calc Distopico
2023-07-18 11:28 ` [bug#64688] [PATCH v2] " Distopico
     [not found]   ` <ZL57GHdJP_KYiQ6K@jurong>
2023-07-24 15:27     ` Distopico [this message]
2023-07-23 21:52 ` [bug#64688] [PATCH v3] " Distopico
2023-07-24 15:31 ` Distopico
2023-07-26  9:52   ` [bug#64688] [PATCH v4] " Andreas Enge
2023-07-26 14:27     ` Distopico
2023-07-26 14:35       ` bug#64688: " 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=87lef5nxbb.fsf@riseup.net \
    --to=distopico@riseup.net \
    --cc=64688@debbugs.gnu.org \
    --cc=andreas@enge.fr \
    /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).