summaryrefslogtreecommitdiff
path: root/sysutils/webmin
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-05-23 10:55:49 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-05-23 10:55:49 +0000
commit733070f1ef1ceee564f1aa009abf0c0ecfba8e62 (patch)
tree5384d3caa3568c2cbde6fab18c438c82f68eddd2 /sysutils/webmin
parentupgrade to 0.7 (diff)
Set the correct pathnames for the postgresql module in the default
configuration file. Noticed by: mi
Notes
Notes: svn path=/head/; revision=42975
Diffstat (limited to 'sysutils/webmin')
-rw-r--r--sysutils/webmin/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index e9523ff71122..cb13e7de94b2 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