aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2001-02-28 06:56:20 +0800
committerolgeni <olgeni@FreeBSD.org>2001-02-28 06:56:20 +0800
commitbecf60e039890e6d8a7a8640b5fe8e6524297df7 (patch)
tree37b3d4d3ee5ac1791e3f8df862b20f5b65495bfd
parent98c32e9bdc6b822e12ad3d0a9b45394bb40c39c7 (diff)
downloadfreebsd-ports-graphics-becf60e039890e6d8a7a8640b5fe8e6524297df7.tar.gz
freebsd-ports-graphics-becf60e039890e6d8a7a8640b5fe8e6524297df7.tar.zst
freebsd-ports-graphics-becf60e039890e6d8a7a8640b5fe8e6524297df7.zip
The default isc-dhcpd configuration lives in /usr/local/etc/, not /etc/.
-rw-r--r--sysutils/webmin/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index 0792424a641..f7756b8d53b 100644
--- a/sysutils/webmin/Makefile
+++ b/sysutils/webmin/Makefile
@@ -62,6 +62,11 @@ post-patch:
${WRKSRC}/postgresql/config.sed > ${WRKSRC}/postgresql/config
${RM} ${WRKSRC}/postgresql/config.sed
+ ${CP} ${WRKSRC}/dhcpd/config-freebsd ${WRKSRC}/dhcpd/config-freebsd.sed
+ ${SED} -e "s@^dhcpd_conf=.*@dhcpd_conf=${LOCALBASE}/etc/dhcpd.conf@" \
+ ${WRKSRC}/dhcpd/config-freebsd.sed > ${WRKSRC}/dhcpd/config-freebsd
+ ${RM} ${WRKSRC}/dhcpd/config-freebsd.sed
+
do-install:
@${MKDIR} ${PREFIX}/lib/webmin
@${CP} -r ${WRKSRC}/* ${PREFIX}/lib/webmin