summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2001-02-27 22:56:20 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2001-02-27 22:56:20 +0000
commit6852d7588d4506e3a64d93b2a8ca9368173042a8 (patch)
treefcf7ed5de04e12302b859d5dee443b50ea0caf33
parentBump PORTREVISION to reflect addition of patch-aj. (diff)
The default isc-dhcpd configuration lives in /usr/local/etc/, not /etc/.
Notes
Notes: svn path=/head/; revision=38868
-rw-r--r--sysutils/webmin/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysutils/webmin/Makefile b/sysutils/webmin/Makefile
index 0792424a6419..f7756b8d53b3 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