Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YoaoJ-0007Hu-9w for pgsql-committers@arkaria.postgresql.org; Sat, 02 May 2015 17:02:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YoaoI-000526-5R for pgsql-committers@arkaria.postgresql.org; Sat, 02 May 2015 17:02:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YoaoH-00051z-Bc for pgsql-committers@postgresql.org; Sat, 02 May 2015 17:02:37 +0000 Received: from mout.gmx.net ([212.227.15.18]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1YoaoE-0007RS-Cz for pgsql-committers@postgresql.org; Sat, 02 May 2015 17:02:36 +0000 Received: from auth1-smtp.messagingengine.com ([66.111.4.227]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MRoyH-1YhpS51FXt-00Swnp for ; Sat, 02 May 2015 19:02:32 +0200 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id C451720B62 for ; Sat, 2 May 2015 13:02:30 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Sat, 02 May 2015 13:02:30 -0400 X-Sasl-enc: TbCwcElcoSFkqOMts5mtTdmRDWUY6AmEnbaasYUyZBDS 1430586150 Received: from [10.0.0.13] (unknown [67.165.24.246]) by mail.messagingengine.com (Postfix) with ESMTPA id 6AEB2680156; Sat, 2 May 2015 13:02:30 -0400 (EDT) Message-ID: <55450325.6090204@gmx.net> Date: Sat, 02 May 2015 13:02:29 -0400 From: Peter Eisentraut User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Andrew Dunstan , pgsql-committers@postgresql.org Subject: Re: pgsql: Make hstore_plperl's build even more like plperl's References: <55448BAB.1000702@dunslane.net> <5544BD8A.5050802@gmx.net> <5544DD48.80307@dunslane.net> <5544E1C9.5050009@gmx.net> <5544E7AC.9030106@dunslane.net> In-Reply-To: <5544E7AC.9030106@dunslane.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:xRoguGlUUHbzJOw1Q0xkxYOIs+Dd8GbDIVlvvFJda4+Gr1c5WW2 y5lVzvG74/03C0gFgQrdq+SCLPL6OUZfRXdFU9Ckgc6ADR5v0OgQmrdJFOFzHIuWNWrLVrj PhdcRFUvecc6hYWu94+G3WIiSFAIE6ewI1WCzAorKHYKAM+mKH2d/RVfWZyZwa3bt8jPqh4 wT8dJ4dtFiHwDyY/A7nZw== X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -2.1 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org 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