aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql74-server
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>2000-09-09 14:29:15 +0800
committerandreas <andreas@FreeBSD.org>2000-09-09 14:29:15 +0800
commit4c68a635ae324dbf4896f48f8bdd1b7853638ea4 (patch)
treee1bfbb3c33fbba33b27a86f25e10b2c09b9794be /databases/postgresql74-server
parent823a9ea647ef330de7ac9315dcc3fc86e5bb98d8 (diff)
downloadfreebsd-ports-gnome-4c68a635ae324dbf4896f48f8bdd1b7853638ea4.tar.gz
freebsd-ports-gnome-4c68a635ae324dbf4896f48f8bdd1b7853638ea4.tar.zst
freebsd-ports-gnome-4c68a635ae324dbf4896f48f8bdd1b7853638ea4.zip
avoid:
ldconfig: /usr/local/pgsql/lib: ignoring directory not owned by root during startup. Submitted by: tobez@tobez.org
Diffstat (limited to 'databases/postgresql74-server')
-rw-r--r--databases/postgresql74-server/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/databases/postgresql74-server/Makefile b/databases/postgresql74-server/Makefile
index 55102745e4c3..08452acf5910 100644
--- a/databases/postgresql74-server/Makefile
+++ b/databases/postgresql74-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'