summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2013-12-10 22:34:22 +0000
committeradam <adam@pkgsrc.org>2013-12-10 22:34:22 +0000
commita101fad0dc086cf05390e57f5aca651e34cddad9 (patch)
treecb186cac570a612718ca8449a114ebe8ff834424
parent116f463ff0d223b919f212993fea2bfe7e494a78 (diff)
downloadpkgsrc-a101fad0dc086cf05390e57f5aca651e34cddad9.tar.gz
Also move home folder
-rw-r--r--databases/postgresql84-server/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/postgresql84-server/Makefile b/databases/postgresql84-server/Makefile
index 300a368b150..b7b40cae20e 100644
--- a/databases/postgresql84-server/Makefile
+++ b/databases/postgresql84-server/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2013/10/12 20:39:42 adam Exp $
+# $NetBSD: Makefile,v 1.23 2013/12/10 22:34:22 adam Exp $
PKGNAME= ${DISTNAME:C/-/84-server-/}
COMMENT= PostgreSQL database server programs
@@ -45,11 +45,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
PKG_GROUPS_VARS+= PGGROUP
PKG_USERS_VARS+= PGUSER