All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe MacDonald <Joe_MacDonald@mentor.com>
To: Stephen Arnold <sarnold@vctlabs.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-networking][PATCH] net-snmp: fix cross-compile breakage, add libnl pkgconfig option
Date: Tue, 26 Jan 2016 22:04:25 -0800	[thread overview]
Message-ID: <20160127060425.GA4039@mentor.com> (raw)
In-Reply-To: <1453858161-27358-1-git-send-email-sarnold@vctlabs.com>

[-- Attachment #1: Type: text/plain, Size: 2517 bytes --]

[[oe] [meta-networking][PATCH] net-snmp: fix cross-compile breakage, add libnl pkgconfig option] On 16.01.26 (Tue 17:29) Stephen Arnold wrote:

> From: Stephen Arnold <stephen.arnold42@gmail.com>
> 
> This patch enhances a previously unapplied patch on jethro, plus adds
> some flexibility in terms of required deps and a few cleanups.
> 
> Signed-off-by: Stephen Arnold <stephen.arnold42@gmail.com>
> ---
>  meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
> index b32d842..93eb025 100644
> --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
> +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.7.3.bb
> @@ -27,7 +27,7 @@ SRC_URI[sha256sum] = "e8dfc79b6539b71a6ff335746ce63d2da2239062ad41872fff4354cafe
>  
>  inherit autotools update-rc.d siteinfo systemd pkgconfig
>  
> -EXTRA_OEMAKE = "INSTALL_PREFIX=${D}"
> +EXTRA_OEMAKE = "INSTALL_PREFIX=${D} OTHERLDFLAGS='${LDFLAGS}' HOST_CPPFLAGS='${BUILD_CPPFLAGS}'"
>  
>  PARALLEL_MAKE = ""
>  CCACHE = ""
> @@ -36,12 +36,13 @@ TARGET_CC_ARCH += "${LDFLAGS}"
>  
>  PACKAGECONFIG ??= ""
>  PACKAGECONFIG[elfutils] = "--with-elf, --without-elf, elfutils"
> +PACKAGECONFIG[libnl] = "--with-nl, --without-nl, libnl"
>  
>  EXTRA_OECONF = "--disable-embedded-perl \
>                  --with-perl-modules=no \
> -                --enable-shared \

Why this change?

-J.

>                  --disable-manuals \
>                  --with-defaults \
> +                --with-install-prefix=${D} \
>                  --with-persistent-directory=${localstatedir}/lib/net-snmp \
>                  ${@base_conditional('SITEINFO_ENDIANNESS', 'le', '--with-endianness=little', '--with-endianness=big', d)}"
>  
> @@ -51,10 +52,15 @@ EXTRA_OECONF += "--with-mib-modules=smux"
>  CACHED_CONFIGUREVARS = " \
>      ac_cv_header_valgrind_valgrind_h=no \
>      ac_cv_header_valgrind_memcheck_h=no \
> +    ac_cv_ETC_MNTTAB=/etc/mtab \
> +    lt_cv_shlibpath_overrides_runpath=yes \
>  "
>  
>  do_configure_prepend() {
>      export PERLPROG="${bindir}/env perl"
> +    sed -i -e "s|I/usr/include|I${STAGING_INCDIR}|g" \
> +        "${S}"/configure \
> +        "${S}"/configure.d/config_os_libs2
>  }
>  
>  do_install_append() {
> -- 
> 2.6.4
> 
-- 
-Joe MacDonald.
:wq

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 484 bytes --]

      reply	other threads:[~2016-01-27  6:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-27  1:29 [meta-networking][PATCH] net-snmp: fix cross-compile breakage, add libnl pkgconfig option Stephen Arnold
2016-01-27  6:04 ` Joe MacDonald [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=20160127060425.GA4039@mentor.com \
    --to=joe_macdonald@mentor.com \
    --cc=openembedded-devel@lists.openembedded.org \
    --cc=sarnold@vctlabs.com \
    /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.