help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the prefix for this libpg_query package


From: Marc Coquand
Subject: Re: Changing the prefix for this libpg_query package
Date: Sun, 25 Feb 2024 14:03:38 -0600

Hey everyone! 

Thanks for your support. This was my first post to support, so it was stuck
in review for a while. I was able to resolve it using the same substitute 
function Felix shared.

So now my patch is up for review:

https://issues.guix.gnu.org/69309

Thanks everyone for your help.

Sincerely,
Marc

On Sun Feb 25, 2024 at 11:51 AM CST, Felix Lechner wrote:
> Hi Marc,
>
> On Tue, Feb 20 2024, Marc Coquand wrote:
>
> > I need to change the prefix to be the guix out directory
>
> To override the variable assigned in the Makefile [1] you are right to
> offer it as an argument to 'make'. [2] I'm not sure why that's not
> working. I would just replace it in situ:
>
>     #:phases (modify-phases %standard-phases
>               (add-after 'unpack 'fix-prefix
>                (lambda _
>                 (substitute* "Makefile"
>                  (("/usr/local") $output)))))
>
> Kind regards
> Felix
>
> [1] 
> https://github.com/pganalyze/libpg_query/blob/1ec38940e5c6f09a4c1d17a46d839a881c4f2db7/Makefile#L311
> [2] https://www.gnu.org/software/make/manual/make.html#Overriding




reply via email to

[Prev in Thread] Current Thread [Next in Thread]