Patchwork [11/22] libpcap: add missing flex/bison dependencies

login
register
mail settings
Submitter Thomas Petazzoni
Date March 24, 2013, 8:26 a.m.
Message ID <1364113606-20836-12-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/230400/
State Accepted
Commit 2f55f8e440ea6040ec7fc9ba0692dd0980a36bd9
Headers show

Comments

Thomas Petazzoni - March 24, 2013, 8:26 a.m.
In preparation for the removal of the flex/bison mandatory
dependencies, make sure libpcap builds host-flex/host-bison.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
 package/libpcap/libpcap.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Peter Korsgaard - March 24, 2013, 12:44 p.m.
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> In preparation for the removal of the flex/bison mandatory
 Thomas> dependencies, make sure libpcap builds host-flex/host-bison.

Committed, thanks.

Patch

diff --git a/package/libpcap/libpcap.mk b/package/libpcap/libpcap.mk
index 06aec0f..5e077a2 100644
--- a/package/libpcap/libpcap.mk
+++ b/package/libpcap/libpcap.mk
@@ -20,7 +20,7 @@  LIBPCAP_INSTALL_STAGING = YES
 # configure script correctly handles --enable-shared/--disable-shared.
 LIBPCAP_AUTORECONF = YES
 
-LIBPCAP_DEPENDENCIES = zlib
+LIBPCAP_DEPENDENCIES = zlib host-flex host-bison
 LIBPCAP_CONF_ENV = ac_cv_linux_vers=2 \
 		ac_cv_header_linux_wireless_h=yes # configure misdetects this
 LIBPCAP_CONF_OPT = --disable-yydebug --with-pcap=linux