postgres/contrib/hstore_plperl
Tom Lane 1b92ca9e2c Still further rethinking of build changes for macOS Mojave.
To avoid the sorts of problems complained of by Jakob Egger, it'd be
best if configure didn't emit any references to the sysroot path at all.
In the case of PL/Tcl, we can do that just by keeping our hands off the
TCL_INCLUDE_SPEC string altogether.  In the case of PL/Perl, we need to
substitute -iwithsysroot for -I in the compile commands, which is easily
handled if we change to using a configure output variable that includes
the switch not only the directory name.  Since PL/Tcl and PL/Python
already do it like that, this seems like good consistency cleanup anyway.

Hence, this replaces the advice given to Perl-related extensions in commit
5e2217131; instead of writing "-I$(perl_archlibexp)/CORE", they should
just write "$(perl_includespec)".  (The old way continues to work, but not
on recent macOS.)

It's still the case that configure needs to be aware of the sysroot
path internally, but that's cleaner than what we had before.

As before, back-patch to all supported versions.

Discussion: https://postgr.es/m/20840.1537850987@sss.pgh.pa.us
2018-10-18 14:55:23 -04:00
..
expected Fix contrib/hstore_plperl to look through scalar refs. 2018-06-18 15:55:06 -04:00
sql Fix contrib/hstore_plperl to look through scalar refs. 2018-06-18 15:55:06 -04:00
.gitignore Add transforms feature 2015-04-26 10:33:14 -04:00
Makefile Still further rethinking of build changes for macOS Mojave. 2018-10-18 14:55:23 -04:00
hstore_plperl--1.0.sql Minor fixes in contrib installation scripts. 2016-06-14 10:47:06 -04:00
hstore_plperl.c Fix contrib/hstore_plperl to look through scalar refs. 2018-06-18 15:55:06 -04:00
hstore_plperl.control Add transforms feature 2015-04-26 10:33:14 -04:00
hstore_plperlu--1.0.sql Minor fixes in contrib installation scripts. 2016-06-14 10:47:06 -04:00
hstore_plperlu.control Add transforms feature 2015-04-26 10:33:14 -04:00