]> 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:57:27 +0000 (18:57 +0000)
commite101878d0b436d4b491661b3cc6ee48e5417c627
treefe052f01f5e279107ede00489d51a810c6e2bdec
parentda14c9b1904870cf6a2e0add7af83576db7b2fe5
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