Date: Thu, 25 Mar 2004 14:52:30 +0100 (CET) From: Torsten Schneider <freebsd-bugs@tschneider.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/64705: irc/muh does not work with IPv4 Message-ID: <200403251352.i2PDqUNI089929@lint.tschneider.org> Resent-Message-ID: <200403251400.i2PE0ipj070728@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403251352.i2PDqUNI089929>