netsniff-ng:Prevent finding host installed nacl
authorJoris Lijssens <joris.lijssens@gmail.com>
Mon, 30 Nov 2015 14:28:30 +0000 (15:28 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 17 Dec 2015 11:57:28 +0000 (12:57 +0100)
Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/netsniff-ng/netsniff-ng.mk

index 4fed88ce379ee23cb3791e9fedf5e511656fe4f5..40eecab8cd46e5610bb7dee8df0bca7268c5b135 100644 (file)
@@ -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 \