]> granicus.if.org Git - postgresql/commit
Move port-specific parts of with_temp_install to port makefile.
authorAndrew Gierth <rhodiumtoad@postgresql.org>
Mon, 4 Feb 2019 18:47:33 +0000 (18:47 +0000)
committerAndrew Gierth <rhodiumtoad@postgresql.org>
Mon, 4 Feb 2019 19:00:18 +0000 (19:00 +0000)
commita8eaef968f1c016661f42f81d630f0783ad19e5f
tree4730ccfb8129adb7f75cf5a239ea13cf1b69cb00
parent12ff406f35b6da535f2011917b38c57e7f6a9540
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.)
src/Makefile.global.in
src/makefiles/Makefile.aix
src/makefiles/Makefile.darwin
src/makefiles/Makefile.freebsd
src/makefiles/Makefile.hpux