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

From Andrew Gierth
Subject pgsql: Move port-specific parts of with_temp_install to port makefile.
Date
Msg-id E1gqjwp-00089g-Av@gemulon.postgresql.org
Whole thread Raw
List 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
------
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(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Make FSM test portable.
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Remove unused macro