aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-05-23 18:55:49 +0800
committerolgeni <olgeni@FreeBSD.org>2001-05-23 18:55:49 +0800
commit3847751db8c8a42223dfa1ebdb30f0f9ba5a769f (patch)
tree1aa0ef7e7122f15602e0488598034774e3faaecb /sysutils
parentff82491c3e87e05e8cdb419ee81fbcaf2b208ee9 (diff)
downloadfreebsd-ports-graphics-3847751db8c8a42223dfa1ebdb30f0f9ba5a769f.tar.gz
freebsd-ports-graphics-3847751db8c8a42223dfa1ebdb30f0f9ba5a769f.tar.zst
freebsd-ports-graphics-3847751db8c8a42223dfa1ebdb30f0f9ba5a769f.zip
Set the correct pathnames for the postgresql module in the default
configuration file. Noticed by: mi
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/webmin/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index e9523ff7112..cb13e7de94b 100644
--- a/sysutils/webmin/Makefile
+++ b/sysutils/webmin/Makefile
@@ -59,9 +59,12 @@ post-patch:
${SED} -e "s@^hba_conf=.*@hba_conf=${LOCALBASE}/pgsql/data/pg_hba.conf@" \
-e "s@^login=.*@login=pgsql@" \
-e "s@^pid_file=.*@pid_file=${LOCALBASE}/pgsql/data/postmaster.pid@" \
- -e "s@^start_cmd=.*@start_cmd=${LOCALBASE}/etc/rc.d/pgsql.sh start@" \
- -e "s@^stop_cmd=.*@stop_cmd=${LOCALBASE}/etc/rc.d/pgsql.sh stop@" \
+ -e "s@^start_cmd=.*@start_cmd=${LOCALBASE}/etc/rc.d/010.pgsql.sh start@" \
+ -e "s@^stop_cmd=.*@stop_cmd=${LOCALBASE}/etc/rc.d/010.pgsql.sh stop@" \
+ -e "s@^psql=.*@psql=${LOCALBASE}/bin/psql@" \
+ -e "s@^plib=.*@plib=${LOCALBASE}/lib@" \
${WRKSRC}/postgresql/config.sed > ${WRKSRC}/postgresql/config
+
${RM} ${WRKSRC}/postgresql/config.sed
${CP} ${WRKSRC}/dhcpd/config-freebsd ${WRKSRC}/dhcpd/config-freebsd.sed