($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: eero.aaltonen@vaisala.com
To: openembedded-devel@lists.openembedded.org
Cc: Eero Aaltonen <eero.aaltonen@vaisala.com>
Subject: [meta-oe][PATCH 1/2] docopt.cpp: turn boost to a PACKAGECONFIG option
Date: Mon, 15 Apr 2024 14:30:29 +0300	[thread overview]
Message-ID: <20240415113030.39050-1-eero.aaltonen@vaisala.com> (raw)

From: Eero Aaltonen <eero.aaltonen@vaisala.com>

docopt.cpp only uses boost regex with the option USE_BOOST_REGEX=ON.
When used, boost regex is statically linked.

Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com>
---
 meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb b/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb
index 3d438871ed..87eed4b656 100644
--- a/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb
+++ b/meta-oe/recipes-extended/docopt.cpp/docopt.cpp_git.bb
@@ -13,7 +13,6 @@ LIC_FILES_CHKSUM = "\
     file://LICENSE-MIT;md5=4b242fd9ef20207e18286d73da8a6677 \
 "
 
-DEPENDS = "boost"
 SRCREV = "42ebcec9dc2c99a1b3a4542787572045763ad196"
 PV = "0.6.3+git"
 
@@ -24,3 +23,6 @@ SRC_URI = "\
 S = "${WORKDIR}/git"
 
 inherit cmake
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[boost] = "-DUSE_BOOST_REGEX=ON,-DUSE_BOOST_REGEX=OFF,boost"
-- 
2.34.1



             reply	other threads:[~2024-04-15 11:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-15 11:30 eero.aaltonen [this message]
2024-04-15 11:30 ` [meta-oe][PATCH 2/2] docopt.cpp: add support for native and nativesdk eero.aaltonen

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=20240415113030.39050-1-eero.aaltonen@vaisala.com \
    --to=eero.aaltonen@vaisala.com \
    --cc=openembedded-devel@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).