mirror of
git://git.yoctoproject.org/poky
synced 2026-10-02 17:25:46 +00:00
Fix build with GCC 15 on musl (From OE-Core rev: 22418116d6dd7b3475d074ecb6a0b1d5c00b229b) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 lines
1.4 KiB
BlitzBasic
34 lines
1.4 KiB
BlitzBasic
SUMMARY = "Arbitrary precision calculator language"
|
|
HOMEPAGE = "http://www.gnu.org/software/bc/bc.html"
|
|
DESCRIPTION = "bc is an arbitrary precision numeric processing language. Syntax is similar to C, but differs in many substantial areas. It supports interactive execution of statements."
|
|
|
|
LICENSE = "GPL-3.0-or-later"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
|
|
file://COPYING.LIB;md5=6a6a8e020838b23406c81b19c1d46df6 \
|
|
file://bc/bcdefs.h;endline=17;md5=4295c06df9e833519a342f7b5d43db06 \
|
|
file://dc/dc.h;endline=18;md5=bad31533d57fe5948c996f9ef6643206 \
|
|
file://lib/number.c;endline=20;md5=cf43068cc88f837731dc53240456cfaf"
|
|
|
|
SECTION = "base"
|
|
DEPENDS = "flex-native"
|
|
|
|
SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
|
|
file://0001-getopt-Add-missing-params-to-getopt-getenv-signature.patch \
|
|
file://run-ptest"
|
|
SRC_URI[sha256sum] = "b71457ffeb210d7ea61825ff72b3e49dc8f2c1a04102bbe23591d783d1bfe996"
|
|
|
|
inherit autotools texinfo update-alternatives ptest
|
|
|
|
PACKAGECONFIG ??= "readline"
|
|
PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline"
|
|
PACKAGECONFIG[libedit] = "--with-libedit,--without-libedit,libedit"
|
|
|
|
do_install_ptest() {
|
|
install ${S}/Test/*.b ${D}${PTEST_PATH}
|
|
}
|
|
|
|
ALTERNATIVE:${PN} = "bc dc"
|
|
ALTERNATIVE_PRIORITY = "100"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|