Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] gettext: fix PACKAGECONFIGs
Date: Mon, 22 Jan 2018 10:52:05 +0000	[thread overview]
Message-ID: <20180122105205.434-1-Martin.Jansa@gmail.com> (raw)
In-Reply-To: <CA+chaQfVFtq0jLTjr5K1stUyA=BgbSk_cCZ3vi7RJa77FxzJ8g@mail.gmail.com>

* add --with-*-prefix variables to prevent configure trying to search in host paths
* fixes:
  ERROR: This autoconf log indicates errors, it looked at host include and/or library paths while determining system capabilities.
  gettext/0.19.8.1-r0/build/gettext-tools/config.log:cc1: warning: include location /usr/include/glib-2.0 is unsafe for cross-compilation [-Wpoison-system-directories]

* not sure if it's worth adding other prefixes for curses related PACKAGECONFIG
  PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses,"

  --with-libncurses-prefix[=DIR]  search for PACKLIBS in DIR/include and DIR/lib
  --without-libncurses-prefix     don't search for PACKLIBS in includedir and libdir
  --with-libxcurses-prefix[=DIR]  search for PACKLIBS in DIR/include and DIR/lib
  --without-libxcurses-prefix     don't search for PACKLIBS in includedir and libdir
  --with-libcurses-prefix[=DIR]  search for PACKLIBS in DIR/include and DIR/lib
  --without-libcurses-prefix     don't search for PACKLIBS in includedir and libdir

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta/recipes-core/gettext/gettext_0.19.8.1.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-core/gettext/gettext_0.19.8.1.bb b/meta/recipes-core/gettext/gettext_0.19.8.1.bb
index 97083c0da2..8a8a34cca8 100644
--- a/meta/recipes-core/gettext/gettext_0.19.8.1.bb
+++ b/meta/recipes-core/gettext/gettext_0.19.8.1.bb
@@ -43,10 +43,10 @@ PACKAGECONFIG ??= "croco glib libxml libunistring"
 PACKAGECONFIG_class-native = ""
 PACKAGECONFIG_class-nativesdk = ""
 
-PACKAGECONFIG[croco] = "--without-included-libcroco,--with-included-libcroco,libcroco"
-PACKAGECONFIG[glib] = "--without-included-glib,--with-included-glib,glib-2.0"
-PACKAGECONFIG[libxml] = "--without-included-libxml,--with-included-libxml,libxml2"
-PACKAGECONFIG[libunistring] = "--without-included-libunistring,--with-included-libunistring,libunistring"
+PACKAGECONFIG[croco] = "--with-libcroco-0.6-prefix=${STAGING_LIBDIR}/.. --without-included-libcroco,--with-included-libcroco,libcroco"
+PACKAGECONFIG[glib] = "--with-libglib-2.0-prefix=${STAGING_LIBDIR}/.. --without-included-glib,--with-included-glib,glib-2.0"
+PACKAGECONFIG[libxml] = "--with-libxml2-prefix=${STAGING_LIBDIR}/.. --without-included-libxml,--with-included-libxml,libxml2"
+PACKAGECONFIG[libunistring] = "--with-libunistring-prefix=${STAGING_LIBDIR}/.. --without-included-libunistring,--with-included-libunistring,libunistring"
 PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses,"
 
 acpaths = '-I ${S}/gettext-runtime/m4 \
-- 
2.15.1



  reply	other threads:[~2018-01-22 10:52 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-08 16:00 [PATCH 1/9] psmisc: improve autopoint-enabling Ross Burton
2018-01-08 16:00 ` [PATCH 2/9] bison: remove obsolete patch Ross Burton
2018-01-08 16:00 ` [PATCH 3/9] bison: remove pointless gettext-minimal-native DEPENDS Ross Burton
2018-01-08 16:00 ` [PATCH 4/9] pango: don't wipe EXTRA_AUTORECONF Ross Burton
2018-01-08 16:00 ` [PATCH 5/9] native/cross: remove redundant DEPENDS_GETTEXT assignment Ross Burton
2018-01-08 16:00 ` [PATCH 6/9] m4: merge two .inc files Ross Burton
2018-01-12 17:30   ` Dan McGregor
2018-01-13 14:53     ` Richard Purdie
2018-01-08 16:00 ` [PATCH 7/9] avahi: remove explicit avahi-dev RDEPENDS Ross Burton
2018-01-09  9:01   ` Alexander Kanavin
2018-01-09 10:19     ` Burton, Ross
2018-01-08 16:00 ` [PATCH 8/9] libcroco: enable nativesdk builds Ross Burton
2018-01-08 16:00 ` [PATCH 9/9] gettext: rationalise optional dependencies Ross Burton
2018-01-21 15:30   ` Martin Jansa
2018-01-22 10:52     ` Martin Jansa [this message]
2018-01-22 19:46       ` [PATCH] gettext: fix PACKAGECONFIGs Burton, Ross
2018-01-23  0:58         ` Burton, Ross
2018-01-23 22:29           ` Martin Jansa
2018-01-23 23:09             ` Burton, Ross
2018-01-24  0:43               ` Martin Jansa
2018-01-22 10:59     ` [PATCH 9/9] gettext: rationalise optional dependencies Burton, Ross
2018-01-22 11:03 ` ✗ patchtest: failure for "psmisc: improve autopoint-enab..." and 8 more (rev2) Patchwork

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=20180122105205.434-1-Martin.Jansa@gmail.com \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox