aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql92-server
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>2000-09-09 06:29:15 +0000
committerAndreas Klemm <andreas@FreeBSD.org>2000-09-09 06:29:15 +0000
commit2c74b4f374ce955db5265292ed7f1d1326006971 (patch)
tree3670acb5e1ca31ed27125f8f9917dd2506bd086f /databases/postgresql92-server
parent6aa0090be9763a9118a67e6ca48ec9e24485013d (diff)
downloadports-2c74b4f374ce955db5265292ed7f1d1326006971.tar.gz
ports-2c74b4f374ce955db5265292ed7f1d1326006971.zip
Notes
Diffstat (limited to 'databases/postgresql92-server')
-rw-r--r--databases/postgresql92-server/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/databases/postgresql92-server/Makefile b/databases/postgresql92-server/Makefile
index 55102745e4c3..08452acf5910 100644
--- a/databases/postgresql92-server/Makefile
+++ b/databases/postgresql92-server/Makefile
@@ -193,6 +193,7 @@ post-install:
>> ${PREFIX}/pgsql/.profile; \
fi
@ ${CHOWN} -R pgsql:pgsql ${PREFIX}/pgsql
+ @ ${CHOWN} root:pgsql ${PREFIX}/pgsql/lib
@ ${ECHO} 'Initializing PostgreSQL Databases - this may take a few minutes...'
@ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/pgsql/lib
@ su -l pgsql -c 'PATH=${PREFIX}/pgsql/bin:${PATH} LD_LIBRARY_PATH=${PREFIX}/pgsql/lib ${PREFIX}/pgsql/bin/initdb --pglib=${PREFIX}/pgsql/lib --pgdata=${PREFIX}/pgsql/data'