pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PGHOME defaults inconsistent...



There seems to be an inconsistency in postgres defaults, namely with PGHOME. From mk/defaults/mk.conf:
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?



Home | Main Index | Thread Index | Old Index