pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Gierth <rhodiumtoad@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move port-specific parts of with_temp_install to port makefile.
Date: Mon, 04 Feb 2019 19:30:27 +0000
Message-ID: <E1gqjwp-00089g-Av@gemulon.postgresql.org> (raw)

Move port-specific parts of with_temp_install to port makefile.

Rather than define ld_library_path_ver with a big nested $(if), just
put the overriding values in the makefiles for the relevant ports.

Also add a variable for port makefiles to append their own stuff to
with_temp_install, and use it to set LD_LIBRARY_PATH_RPATH=1 on
FreeBSD which is needed to make LD_LIBRARY_PATH override DT_RPATH
if DT_RUNPATH is not set (which seems to depend in unpredictable ways
on the choice of compiler, at least on my system).

Backpatch for the benefit of anyone doing regression tests on FreeBSD.
(For other platforms there should be no functional change.)

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/54f5f887fd7df0ba9e286ce7bc4d1b1197afcbf3

Modified Files
--------------
src/Makefile.global.in         | 17 ++++++++++-------
src/makefiles/Makefile.aix     |  3 +++
src/makefiles/Makefile.darwin  |  3 +++
src/makefiles/Makefile.freebsd |  8 ++++++++
src/makefiles/Makefile.hpux    |  3 +++
5 files changed, 27 insertions(+), 7 deletions(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1gqjwp-00089g-Av@gemulon.postgresql.org>
Permalink:  ../E1gqjwp-00089g-Av@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gqjwp-00089g-Av@gemulon.postgresql.org

 · 

reply

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: rhodiumtoad@postgresql.org
  Subject: Re: pgsql: Move port-specific parts of with_temp_install to port makefile.
  In-Reply-To: <E1gqjwp-00089g-Av@gemulon.postgresql.org>
  References: <E1gqjwp-00089g-Av@gemulon.postgresql.org>

* 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