Re: [PATCH] Fix missing comma in Requires.private with a Make macro

From: Fabrízio de Royes Mello <fabriziomello(at)gmail(dot)com>
To: Jacob Champion <jacob(dot)champion(at)enterprisedb(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Wolfgang Walther <walther(at)technowledgy(dot)de>
Subject: Re: [PATCH] Fix missing comma in Requires.private with a Make macro
Date: 2025-05-07 18:54:59
Message-ID: CAFcNs+pysLX5TciGuJWT9449qUthk=Ys7MrXAGkkNNA9=_GMpA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 7, 2025 at 2:17 PM Jacob Champion <
jacob(dot)champion(at)enterprisedb(dot)com> wrote:

> Hello!
>
> Wolfgang reported over in [1] that I've missed a comma when appending
> to the PKG_CONFIG_REQUIRES_PRIVATE list, making libpq.pc look ugly:
>
> Requires.private: libssl, libcrypto libcurl
>
> pkg-config itself appears to be papering over my mistake (a quick code
> inspection suggests it treats commas as equivalent to whitespace?) but
> here's a patch to fix it. I went with a macro inspired by
> Makefile.global's add_to_path, to try to ease this for whoever comes
> next.
>
>
LGTM

> Tested with GNU Make 3.81 (the compilation of which was slightly
> painful; does anyone want to debate pulling that minimum version up
> sometime soon?) and 4.3.
>
>
Not sure if all animals have a minimum 4.3 make version. Do you?

--
Fabrízio de Royes Mello

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Geoghegan 2025-05-07 19:21:38 Re: Adding skip scan (including MDAM style range skip scan) to nbtree
Previous Message Nathan Bossart 2025-05-07 18:41:57 Re: add --sequence-data to pg_dumpall