ports/64705: irc/muh does not work with IPv4
Torsten Schneider
freebsd-bugs at tschneider.org
Thu Mar 25 14:00:44 UTC 2004
>Number: 64705
>Category: ports
>Synopsis: irc/muh does not work with IPv4
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 25 06:00:43 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Torsten Schneider
>Release: FreeBSD 4.9-STABLE i386
>Organization:
private
>Environment:
System: FreeBSD lint.tschneider.org 4.9-STABLE FreeBSD 4.9-STABLE #2: Fri Mar 19 21:40:43 CET 2004 schneidt at lint.tschneider.org:/usr/src/sys/compile/TSCHNEIDER i386
>Description:
The Makefile turns on IPv6 support via --enable-ipv6.
If muh is compiled with this option, it doesn't work at all with IPv4
because the v4 support will not be compiled in.
>How-To-Repeat:
Try to make it work in an non-IPv6 environment. It is always complainig
about errors when creating a socket.
>Fix:
The best choice would be to split this port into two different ports, e.g.
irc/muh and irc/muh-ipv6 or to modify the makefile as described below.
--- Makefile.old Thu Mar 25 14:45:30 2004
+++ Makefile Thu Mar 25 14:46:04 2004
@@ -19,7 +19,10 @@
USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_REINPLACE= yes
+
+.if defined(WITH_IPV6)
CONFIGURE_ARGS= "--enable-ipv6"
+.endif
post-patch:
@${REINPLACE_CMD} -e "s|=muh|=${PREFIX}/bin/muh|g" ${WRKSRC}/misc/muh-check
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list