pgsql: Move port-specific parts of with_temp_install to port makefile.

From: Andrew Gierth <rhodiumtoad(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Move port-specific parts of with_temp_install to port makefile.
Date: 2019-02-04 19:30:27
Message-ID: E1gqjwp-00089n-BR@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a8eaef968f1c016661f42f81d630f0783ad19e5f

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2019-02-04 20:36:30 pgsql: Remove unused macro
Previous Message Amit Kapila 2019-02-04 04:51:43 pgsql: Make FSM test portable.