Are you setting shmpdule for the case where a module is desired? It might be necessary to make that overridable, e.g. shmodule ?= no. Not explicilty. The basic issue is that the pgsql-provided makefile has logic (essentially, user defines NAME, and maybe major version, and then "postgresql module if not major version"). Our replacement appears focused on building for postgresql itself, rather than extensions, and does not seem to provide the same interface. postgis, naturally, expects the same interface as what standard postgresql provides.
Attachment:
pgpnMY_nB8fAR.pgp
Description: PGP signature