pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42206: net/libtorrent + net/rtorrent should enable IPv6 support



>Number:         42206
>Category:       pkg
>Synopsis:       net/libtorrent + net/rtorrent should enable IPv6 support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 20 21:40:00 +0000 2009
>Originator:     Fredrik Pettai
>Release:        NetBSD 5.0_STABLE
>Organization:
NORDUnet A/S
>Environment:
NetBSD stinky 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #2: Fri Jul 24 17:22:46 
CEST 2009  root@stinky:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
net/libtorrent and net/rtorrent has IPv6 support, but it's not enabled in the 
pkgsrc packages.
I've added two very simple patches for this.
>How-To-Repeat:

>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/libtorrent/Makefile,v
retrieving revision 1.34
diff -u -r1.34 Makefile
--- Makefile    9 Jul 2009 10:42:28 -0000       1.34
+++ Makefile    20 Oct 2009 21:26:54 -0000
@@ -11,6 +11,8 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
+BUILD_DEFS+=           IPV6_READY
+
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
 USE_TOOLS+=            gmake pkg-config
@@ -20,6 +22,8 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+CONFIGURE_ARGS+=       --enable-ipv6
+
 .if !empty(OPSYS:M*BSD) || ${OPSYS} == "DragonFly" || ${OPSYS} == "Darwin"
 CONFIGURE_ARGS+=       --with-kqueue
 .endif

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/net/rtorrent/Makefile,v
retrieving revision 1.33
diff -u -r1.33 Makefile
--- Makefile    9 Jul 2009 10:42:29 -0000       1.33
+++ Makefile    20 Oct 2009 21:35:01 -0000
@@ -11,6 +11,8 @@
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
+BUILD_DEFS+=           IPV6_READY
+
 USE_LANGUAGES=         c c++
 USE_LIBTOOL=           yes
 USE_NCURSES=           chgat
@@ -20,6 +22,8 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+CONFIGURE_ARGS+=       --enable-ipv6
+
 .if !empty(OPSYS:M*BSD) || ${OPSYS} == "Darwin" || ${OPSYS} == "DragonFly"
 MESSAGE_SRC=   ${PKGDIR}/MESSAGE.BSD
 .endif



Home | Main Index | Thread Index | Old Index