From 049ed21a640f6c5e4cbfff3518654cddc60eefad Mon Sep 17 00:00:00 2001 From: Joris Lijssens Date: Mon, 30 Nov 2015 15:28:30 +0100 Subject: [PATCH] netsniff-ng:Prevent finding host installed nacl Signed-off-by: Joris Lijssens Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- package/netsniff-ng/netsniff-ng.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/netsniff-ng/netsniff-ng.mk b/package/netsniff-ng/netsniff-ng.mk index 4fed88ce37..40eecab8cd 100644 --- a/package/netsniff-ng/netsniff-ng.mk +++ b/package/netsniff-ng/netsniff-ng.mk @@ -8,6 +8,10 @@ NETSNIFF_NG_VERSION = v0.5.9 NETSNIFF_NG_SITE = $(call github,netsniff-ng,netsniff-ng,$(NETSNIFF_NG_VERSION)) NETSNIFF_NG_LICENSE = GPLv2 NETSNIFF_NG_LICENSE_FILES = README COPYING +# Prevent netsniff-ng configure script from finding a host installed nacl +NETSNIFF_NG_CONF_ENV = \ + NACL_INC_DIR=/dev/null \ + NACL_LIB_DIR=/dev/null NETSNIFF_NG_DEPENDENCIES = \ libnl libpcap libcli libnetfilter_conntrack \ liburcu libnet @@ -15,6 +19,7 @@ NETSNIFF_NG_DEPENDENCIES = \ # hand-written configure script and makefile define NETSNIFF_NG_CONFIGURE_CMDS (cd $(@D); \ + $(NETSNIFF_NG_CONF_ENV) \ $(TARGET_CONFIGURE_ARGS) \ $(TARGET_CONFIGURE_OPTS) \ ./configure \ -- 2.30.2