Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2007 11:50:22 +0600
From:      "Denis Eremenko <moonshade@pnhz.kz>" <moonshade@pnhz.kz>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/117392: [patch] irc/xchat
Message-ID:  <1193032222.12459@abyss.pnhz.kz>
Resent-Message-ID: <200710220610.l9M6A2Dw062811@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         117392
>Category:       ports
>Synopsis:       [patch] irc/xchat
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 22 06:10:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Denis Eremenko <moonshade@pnhz.kz>
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:


System: FreeBSD 6.2-STABLE #0: Tue Sep 25 14:52:47 ALMT 2007
    root@abyss.pnhz.kz:/usr/obj/data/os/FreeBSD/src/6/src/sys/ABYSS-6



>Description:


irc/xchat have mandatory IPv6 support. Should it be set via OPTIONS. Most people have no IPv6.


>How-To-Repeat:





>Fix:


--- patch-Makefile begins here ---
--- Makefile.orig	2007-10-22 11:23:00.000000000 +0600
+++ Makefile	2007-10-22 11:29:13.000000000 +0600
@@ -26,7 +26,6 @@
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
 		LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-CONFIGURE_ARGS=	--enable-ipv6
 WANT_PERL=	yes
 
 OPTIONS=	DBUS "Enable DBUS support" on \
@@ -36,6 +35,7 @@
 		PERL "Enable Perl support" on \
 		PYTHON "Enable Python support" off \
 		TCL "Enable TCL support" off \
+		IPV6 "Enable IPv6" on \
 		SOCKS "Build with socks5 support" off
 
 .include <bsd.port.pre.mk>
@@ -108,6 +108,12 @@
 PLIST_SUB+=	TCL="@comment "
 .endif
 
+.if defined(WITHOUT_IPV6)
+CONFIGURE_ARGS=	--disable-ipv6
+.else
+CONFIGURE_ARGS=	--enable-ipv6
+.endif
+
 .if defined(WITH_SOCKS)
 BUILD_DEPENDS+=	${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5
 CONFIGURE_ARGS+=--enable-socks
--- patch-Makefile ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1193032222.12459>