]> 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 18:56:17 +0000 (18:56 +0000)
commited1bb25075c5f12993af66bb0aba114f843b2764
tree3fd0357f7bd5012a535dfb34ccc00f0eec52c057
parent40e821b01870a1de5e3fdcf5c76d46116c0a56b7
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