On Sat, Apr 06, 2013 at 04:30:49PM +0000, Christian Weisgerber wrote:
> Matthieu Herrb <[email protected]> wrote:
> 
> > Given how configure.ac abuses the 'includes' parameter of
> > AC_CHECK_TYPES, I don't see a quick and easy fix, other than removing
> > SEPARATE_BUILD. 
> > 
> > The patch below does that. Ok ?
> 
> I'd prefer something along the lines of
> 
> # [... explanation ]
> SEPARATE_BUILD= No

Like that ? 

diff --git net/iperf/Makefile net/iperf/Makefile
index 93ca769..fe46886 100644
--- net/iperf/Makefile
+++ net/iperf/Makefile
@@ -3,7 +3,7 @@
 COMMENT=       tool for measuring maximum TCP and UDP bandwidth
 
 DISTNAME=      iperf-2.0.5
-REVISION=      2
+REVISION=      3
 CATEGORIES=    net
 
 HOMEPAGE=      http://sourceforge.net/projects/iperf/
@@ -19,7 +19,9 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=iperf/}
 
 CONFIGURE_STYLE= autoconf
 AUTOCONF_VERSION= 2.65
-SEPARATE_BUILD=        Yes
+
+# Separate build breaks configure test for IPv6 support
+SEPARATE_BUILD=        No
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKBUILD}/src/iperf ${PREFIX}/bin

-- 
Matthieu Herrb

Reply via email to