openswan: needs host-flex
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Mon, 21 Jul 2014 12:20:16 +0000 (09:20 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 21 Jul 2014 19:52:23 +0000 (21:52 +0200)
Although parser.l is shipped it seems it might get regenerated from
parser.y sometimes and an old installed flex might not be good enough.
Fixes:
http://autobuild.buildroot.net/results/e59/e5970eae28d01503d89a5d4e593711d7a27da8b5/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/openswan/openswan.mk

index 4d82b491ec6924a37d14399d3b5f077ba5e2d92c..ce5bdfbbecc5e45fdaa981a23b2ce9ca93532611 100644 (file)
@@ -9,7 +9,7 @@ OPENSWAN_SITE = http://download.openswan.org/openswan
 OPENSWAN_LICENSE = GPLv2+, BSD-3c
 OPENSWAN_LICENSE_FILES = COPYING LICENSE
 
-OPENSWAN_DEPENDENCIES = host-bison gmp iproute2
+OPENSWAN_DEPENDENCIES = host-bison host-flex gmp iproute2
 OPENSWAN_MAKE_OPT = ARCH=$(BR2_ARCH) CC="$(TARGET_CC)" \
        USERCOMPILE="$(TARGET_CFLAGS) -fPIE" INC_USRLOCAL=/usr \
        USE_KLIPS=false USE_MAST=false USE_NM=false