PGGROUP?= pgsql PGUSER?= pgsql PGHOME?= ${PREFIX}/${PGUSER}
But in the diverse postgres server Makefiles:
postgresql84-server/Makefile:PGHOME?= ${VARBASE}/${PGUSER} postgresql90-server/Makefile:PGHOME?= ${VARBASE}/${PGUSER} postgresql91-server/Makefile:PGHOME?= ${PREFIX}/${PGUSER} postgresql92-server/Makefile:PGHOME?= ${VARBASE}/${PGUSER} postgresql93-server/Makefile:PGHOME?= ${VARBASE}/${PGUSER}
Seems that defaults/mk.conf should use ${VARBASE} and that the p*-server/Makefiles should remove PGHOME/PGUSER/PGGROUP definitions in order to only refer either to defaults or to the eventually overridden values set in the etc/mk.conf.
Observations?