All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] netsniff-ng:override NACL_INC_DIR and NACL_LIB_DIR because the default value can cause a wrong build
Date: Mon, 16 Nov 2015 23:25:49 +0100	[thread overview]
Message-ID: <564A57ED.2020405@mind.be> (raw)
In-Reply-To: <1447332289-31940-1-git-send-email-joris.lijssens@gmail.com>

On 12-11-15 13:44, Joris Lijssens wrote:
> Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com>
> ---
>  package/netsniff-ng/netsniff-ng.mk | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/package/netsniff-ng/netsniff-ng.mk b/package/netsniff-ng/netsniff-ng.mk
> index 4fed88c..5f0e119 100644
> --- a/package/netsniff-ng/netsniff-ng.mk
> +++ b/package/netsniff-ng/netsniff-ng.mk
> @@ -8,6 +8,9 @@ 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
> +NETSNIFF_NG_CONF_ENV = \
> +			NACL_INC_DIR=/dev/null \
> +			NACL_LIB_DIR=/dev/null
>  NETSNIFF_NG_DEPENDENCIES = \
>  	libnl libpcap libcli libnetfilter_conntrack \
>  	liburcu libnet
> @@ -19,6 +22,7 @@ define NETSNIFF_NG_CONFIGURE_CMDS
>  		$(TARGET_CONFIGURE_OPTS) \
>  		./configure \
>  		--prefix=$(TARGET_DIR)/usr \
> +		$(NETSNIFF_NG_CONF_ENV) \

 I guess you didn't test this... In this hand-written configure script, you
really have to pass environment variables in the environment. So before the
./configure instead of after.

 Regards,
 Arnout

>  	)
>  endef
>  
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

      reply	other threads:[~2015-11-16 22:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-12 12:44 [Buildroot] [PATCH 1/1] netsniff-ng:override NACL_INC_DIR and NACL_LIB_DIR because the default value can cause a wrong build Joris Lijssens
2015-11-16 22:25 ` Arnout Vandecappelle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=564A57ED.2020405@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.