GNU bug report logs -
#64688
[PATCH] gnu: Add calc.
Previous Next
Reported by: Distopico <distopico <at> riseup.net>
Date: Mon, 17 Jul 2023 18:42:03 UTC
Severity: normal
Tags: patch
Done: Andreas Enge <andreas <at> enge.fr>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 64688 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 2023-07-24, Andreas Enge <andreas <at> 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?
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 1 year and 303 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.