ports/117392: [patch] irc/xchat
Denis Eremenko <moonshade@pnhz.kz>
moonshade at pnhz.kz
Mon Oct 22 06:10:03 UTC 2007
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list