mplayer: Only enable IPv6 if BR2_INET_IPV6 is set
authorValentine Barshak <gvaxon@gmail.com>
Fri, 28 Sep 2012 09:19:48 +0000 (09:19 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 4 Oct 2012 21:29:48 +0000 (23:29 +0200)
This fixes false positive IPv6 detection.

Signed-off-by: Valentine Barshak <gvaxon@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/multimedia/mplayer/mplayer.mk

index 9967dd92ecc4781f3eaf1f5d7b46bc930fc7e15d..17680b66a0b2ddb208aa65ffac9cd132d5cb7da8 100644 (file)
@@ -153,6 +153,9 @@ define MPLAYER_FIXUP_IPV6_MREQ_DETECTION
 endef
 
 MPLAYER_POST_CONFIGURE_HOOKS += MPLAYER_FIXUP_IPV6_MREQ_DETECTION
+MPLAYER_CONF_OPTS += --disable-inet6
+else
+MPLAYER_CONF_OPTS += --enable-inet6
 endif
 
 define MPLAYER_BUILD_CMDS