Index: net/dhcp6/Makefile =================================================================== --- net/dhcp6/Makefile +++ net/dhcp6/Makefile @@ -4,7 +4,7 @@ PORTNAME= dhcp6 PORTVERSION= 20080615.2 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net ipv6 MAINTAINER= hrs@FreeBSD.org Index: net/dhcp6/files/dhcp6c.in =================================================================== --- net/dhcp6/files/dhcp6c.in +++ net/dhcp6/files/dhcp6c.in @@ -42,7 +42,7 @@ required_files="${dhcp6c_config}" pidfile="${dhcp6c_pidfile}" -command_args="-c ${dhcp6c_config} -p ${dhcp6c_pidfile} ${dhcp6c_flags} ${dhcp6c_interfaces}" +command_args="-c ${dhcp6c_config} -p ${dhcp6c_pidfile} ${dhcp6c_interfaces}" dhcp6c_precmd() { Index: net/dhcp6/files/dhcp6s.in =================================================================== --- net/dhcp6/files/dhcp6s.in +++ net/dhcp6/files/dhcp6s.in @@ -35,7 +35,7 @@ : ${dhcp6s_config="%%PREFIX%%/etc/${name}.conf"} required_files=${dhcp6s_config} -command_args="-c ${dhcp6s_config} ${dhcp6s_flags} ${dhcp6s_interface}" +command_args="-c ${dhcp6s_config} ${dhcp6s_interface}" dhcp6s_precmd() { Index: net/dhcp6/files/patch-dhcp6s.c =================================================================== --- net/dhcp6/files/patch-dhcp6s.c +++ net/dhcp6/files/patch-dhcp6s.c @@ -0,0 +1,11 @@ +--- dhcp6s.c.orig 2018-09-02 19:43:29 UTC ++++ dhcp6s.c +@@ -527,7 +527,7 @@ server6_init() + strerror(errno)); + exit(1); + } +-#if !defined(__linux__) && !defined(__sun__) ++#if !defined(__linux__) && !defined(__sun__) && !defined(__FreeBSD__) + /* make the socket write-only */ + if (shutdown(outsock, 0)) { + d_printf(LOG_ERR, FNAME, "shutdown(outbound, 0): %s",