pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/37086: x11/libICE: ipv6 issue
>Number: 37086
>Category: pkg
>Synopsis: x11/libICE: ipv6 issue
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 09 09:30:04 +0000 2007
>Originator: Yakovetsky Vladimir
>Release: NetBSD 4.99.31
>Organization:
>Environment:
System: NetBSD lrou.x.ua 4.99.31 NetBSD 4.99.31 (lrou_odd-1.852) #0: Sun Sep 30
18:16:16 EEST 2007 yx%lrou.x.ua@localhost:/sys/arch/i386/compile/lrou_odd i386
Architecture: i386
Machine: i386
>Description:
x11/libICE compiles with ipv6 despite -inet6 option
>How-To-Repeat:
% grep -i inet6 /etc/mk.conf
MKINET6= no
PKG_DEFAULT_OPTIONS+= -inet6
% cd /usr/pkgsrc/x11/libICE && make update
...
checking if IPv6 support should be built... yes
...
% nm /usr/pkg/lib/libICE.so | grep in6
U in6addr_any
% cd /usr/pkgsrc/x11/iceauth && make
...
cc -I/usr/pkg/include -O2 -mfpmath=sse -msse2 -march=pentium4
-finline-functions -fomit-frame-pointer -ffast-math -I/usr/pkg/include
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o iceauth iceauth.o process.o
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lICE
/usr/obj/x11/iceauth/work/.buildlink/lib/libICE.so: undefined reference to
`in6addr_any'
*** Error code 1
Stop.
>Fix:
:r x11/libICE/options.mk
PKG_OPTIONS_VAR= PKG_OPTIONS.libICE
PKG_SUPPORTED_OPTIONS+= inet6
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
--- x11/libICE/Makefile.orig
+++ x11/libICE/Makefile
@@ -19,6 +19,8 @@
PKGCONFIG_OVERRIDE+= ice.pc.in
+.include "options.mk"
+
.include "../../x11/xproto/buildlink3.mk"
.include "../../x11/xtrans/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index