tech-pkg archive

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

Re: python31 amd64 6.0 binary built without IPv6 support?



Not tested, but from looking at configure this appears to override the 
later checks:

diff -u -r1.13 Makefile
--- Makefile    2 Oct 2012 20:11:51 -0000       1.13
+++ Makefile    8 Jan 2013 23:01:52 -0000
@@ -171,6 +171,8 @@
 USE_GNU_READLINE=                      yes
 BUILDLINK_DEPMETHOD.readline=          build
 
+.include "options.mk"
+
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/libffi/buildlink3.mk"

--- /dev/null   2013-01-08 17:00:00.000000000 -0600
+++ options.mk  2013-01-08 17:00:40.000000000 -0600
@@ -0,0 +1,13 @@
+# $NetBSD: options.mk$
+
+PKG_OPTIONS_VAR=        PKG_OPTIONS.python31
+PKG_SUPPORTED_OPTIONS=  inet6
+PKG_SUGGESTED_OPTIONS= inet6
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+=        --enable-ipv6
+.else
+CONFIGURE_ARGS+=        --disable-ipv6
+.endif


Anyone available to check this?

The PKGREVISION will need to be bumped too since the existing package 
did build but is missing functionality.

By the way, can someone explain if _OPSYS_HAS_INET6 or IPV6_READY 
should be used anymore? Or if only the options.mk framework like above?


Home | Main Index | Thread Index | Old Index