Thomas Hallgren <thhal@mailblocks.com> writes:
> There's another issue with the Makefile.global.in that I feel should be
> addressed here. The file contains a lot of entries like:
> ifeq "$(findstring pgsql, $(pkgincludedir))" ""
> ifeq "$(findstring postgres, $(pkgincludedir))" ""
> override pkgincludedir := $(pkgincludedir)/postgresql
> endif
> endif
> Guess what happens if the install-location in itself contains the string
> postgres?
That's the way it's supposed to work. The point of this code is just
to not dump the install files directly into common directories like
/usr/local/include. If "postgres" appears anywhere in the string then
it's obviously not a common directory.
regards, tom lane