Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Yi Zhao <yi.zhao@windriver.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 1/2] libsass: fix runtime version
Date: Mon, 21 Apr 2025 17:06:10 +0800	[thread overview]
Message-ID: <20250421090611.3862686-1-yi.zhao@windriver.com> (raw)

Fix libsass runtime version shown in 'sassc --version'.

Before the fix:
$ sassc --version
sassc: [NA]
libsass: [NA]
sass2scss: 1.1.1
sass: 3.5

After the fix:
$ sassc  --version
sassc: 3.6.2
libsass: 3.6.6
sass2scss: 1.1.1
sass: 3.5

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 meta/recipes-support/sass/libsass_git.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-support/sass/libsass_git.bb b/meta/recipes-support/sass/libsass_git.bb
index f0824944b9..52ee5e47f9 100644
--- a/meta/recipes-support/sass/libsass_git.bb
+++ b/meta/recipes-support/sass/libsass_git.bb
@@ -11,4 +11,8 @@ PV = "3.6.6"
 
 S = "${WORKDIR}/git"
 
+do_configure:append() {
+    sed -i -e 's/\[NA\]/${PV}/g' ${S}/include/sass/version.h
+}
+
 BBCLASSEXTEND = "native"
-- 
2.34.1



             reply	other threads:[~2025-04-21  9:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-21  9:06 Yi Zhao [this message]
2025-04-21  9:06 ` [PATCH 2/2] sassc: fix runtime version Yi Zhao
2025-04-22 15:44   ` [OE-core] " Alexander Kanavin
2025-04-23 12:50     ` Yi Zhao
2025-04-23 14:59       ` Alexander Kanavin
2025-04-24  4:29         ` Yi Zhao
2025-04-22 15:45 ` [OE-core] [PATCH 1/2] libsass: " Alexander Kanavin

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=20250421090611.3862686-1-yi.zhao@windriver.com \
    --to=yi.zhao@windriver.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