From: Peter Eisentraut <peter_e@gmx.net>
To: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@postgresql.org
Subject: Re: pgsql: Make hstore_plperl's build even more like plperl's
Date: Sat, 02 May 2015 13:02:29 -0400
Message-ID: <55450325.6090204@gmx.net> (raw)
In-Reply-To: <5544E7AC.9030106@dunslane.net>
References: <E1YoN2r-0005w0-NY@gemulon.postgresql.org>
<55448BAB.1000702@dunslane.net>
<5544BD8A.5050802@gmx.net>
<5544DD48.80307@dunslane.net>
<5544E1C9.5050009@gmx.net>
<5544E7AC.9030106@dunslane.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 5/2/15 11:05 AM, Andrew Dunstan wrote:
> Note that the override is EXACTLY what is done unconditionally in the
> plperl GNUmakefile:
>
> override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)
> -I$(perl_archlibexp)/CORE
The override is a red herring. It's done this way because all CPPFLAGS
settings have to be done with override, for unrelated reasons. In a
pgxs build, however, you can set PG_CPPFLAGS, which is later put into
CPPFLAGS with override.
Also, requiring that -I$(perl_archlibexp)/CORE is last seems bizarre.
That would mean that an earlier include directory contains a file that
is also in .../CORE, and you don't want to the one in .../CORE. In that
case, why add .../CORE at all? We get Perl headers from .../CORE, and
that would then mean that other include directories contain some Perl
headers that you want to use in preference to the ones in .../CORE, but
at the same time you want the ones in .../CORE as a fallback.
That might possibly be the actual case, but it would be quite odd and
should be properly explained for posterity.
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter_e@gmx.net, andrew@dunslane.net
Subject: Re: pgsql: Make hstore_plperl's build even more like plperl's
In-Reply-To: <55450325.6090204@gmx.net>
References: <E1YoN2r-0005w0-NY@gemulon.postgresql.org> <55448BAB.1000702@dunslane.net> <5544BD8A.5050802@gmx.net> <5544DD48.80307@dunslane.net> <5544E1C9.5050009@gmx.net> <5544E7AC.9030106@dunslane.net> <55450325.6090204@gmx.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox