mirror of
https://git.yoctoproject.org/poky
synced 2026-02-07 17:26:36 +01:00
The sassc_version.h should be generated from sassc_version.h.in. But
there is already a sassc_version.h file in source directory. When ${S}
!= ${B}, the sassc_version.h is generated in build directory, and the
original sassc_version.h in source directory is not overwritten.
However, the latter is used during the build, resulting in a missing
runtime version. Remove sassc_version.h from source directory to ensure
that the one in build directory is used during the build.
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
(From OE-Core rev: 25be2756a719e82e94ee55d7cf42f30546366b6a)
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
577 B
BlitzBasic
20 lines
577 B
BlitzBasic
SUMMARY = "libsass command line driver "
|
|
HOMEPAGE = "https://sass-lang.com/libsass/"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=2f8a76980411a3f1f1480b141ce06744"
|
|
|
|
DEPENDS = "libsass"
|
|
|
|
inherit autotools pkgconfig
|
|
|
|
SRC_URI = "git://github.com/sass/sassc.git;branch=master;protocol=https \
|
|
file://0001-Remove-sassc_version.h-from-source-directory.patch"
|
|
|
|
SRCREV = "66f0ef37e7f0ad3a65d2f481eff09d09408f42d0"
|
|
S = "${WORKDIR}/git"
|
|
PV = "3.6.2"
|
|
|
|
CVE_STATUS[CVE-2022-43357] = "cpe-incorrect: this is CVE for libsass, not sassc wrapper"
|
|
|
|
BBCLASSEXTEND = "native"
|