summaryrefslogtreecommitdiff
path: root/databases/postgresql93-server
diff options
context:
space:
mode:
Diffstat (limited to 'databases/postgresql93-server')
-rw-r--r--databases/postgresql93-server/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/postgresql93-server/Makefile b/databases/postgresql93-server/Makefile
index 8b863afc3e7..03e1fd9e042 100644
--- a/databases/postgresql93-server/Makefile
+++ b/databases/postgresql93-server/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2013/09/10 15:32:33 adam Exp $
+# $NetBSD: Makefile,v 1.2 2013/12/10 22:32:57 adam Exp $
PKGNAME= ${DISTNAME:C/-/93-server-/}
COMMENT= PostgreSQL database server programs
@@ -46,11 +46,11 @@ DL_LIBS+= -lltdl
# the databases
PGUSER?= pgsql
PGGROUP?= pgsql
-PGHOME?= ${PREFIX}/${PGUSER}
+PGHOME?= ${VARBASE}/${PGUSER}
FILES_SUBST+= PGUSER=${PGUSER}
FILES_SUBST+= PGGROUP=${PGGROUP}
FILES_SUBST+= PGHOME=${PGHOME}
-BUILD_DEFS+= PGHOME
+BUILD_DEFS+= PGHOME VARBASE
ALL_ENV+= INSTALLED_LIBPQ=yes