summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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