Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] libsass: fix runtime version
@ 2025-04-21  9:06 Yi Zhao
  2025-04-21  9:06 ` [PATCH 2/2] sassc: " Yi Zhao
  2025-04-22 15:45 ` [OE-core] [PATCH 1/2] libsass: " Alexander Kanavin
  0 siblings, 2 replies; 7+ messages in thread
From: Yi Zhao @ 2025-04-21  9:06 UTC (permalink / raw)
  To: openembedded-core

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



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-04-24  4:29 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-21  9:06 [PATCH 1/2] libsass: fix runtime version Yi Zhao
2025-04-21  9:06 ` [PATCH 2/2] sassc: " 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox