mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
ncurses: remove config.cache
Instead of having a config.cache that overrides the system site files, simply set the values in CACHED_CONFIGUREVARS. We can also drop the mkstemp check as the configure.ac assumes it works, leaving just nanosleep. (From OE-Core rev: c30c90e3adfa91407c37838c971e251f8482e2b8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
f688eb3f3d
commit
b3168502d3
@@ -1,4 +0,0 @@
|
||||
#! /bin/sh
|
||||
|
||||
cf_cv_func_nanosleep=yes
|
||||
cf_cv_func_mkstemp=yes
|
||||
@@ -16,7 +16,8 @@ inherit autotools binconfig-disabled multilib_header pkgconfig
|
||||
SRC_URI = "git://salsa.debian.org/debian/ncurses.git;protocol=https"
|
||||
|
||||
EXTRA_AUTORECONF = "-I m4"
|
||||
CONFIG_SITE =+ "${WORKDIR}/config.cache"
|
||||
|
||||
CACHED_CONFIGUREVARS = "cf_cv_func_nanosleep=yes"
|
||||
|
||||
EXTRASITECONFIG = "CFLAGS='${CFLAGS} -I${SYSROOT_DESTDIR}${includedir}'"
|
||||
|
||||
|
||||
@@ -2,12 +2,11 @@ require ncurses.inc
|
||||
|
||||
SRC_URI += "file://0001-tic-hang.patch \
|
||||
file://0002-configure-reproducible.patch \
|
||||
file://config.cache \
|
||||
"
|
||||
# commit id corresponds to the revision in package version
|
||||
SRCREV = "a669013cd5e9d6434e5301348ea51baf306c93c4"
|
||||
S = "${WORKDIR}/git"
|
||||
EXTRA_OECONF += "--with-abi-version=5 --cache-file=${B}/config.cache"
|
||||
EXTRA_OECONF += "--with-abi-version=5"
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(\.\d+)+(\+\d+)*)"
|
||||
|
||||
# This is needed when using patchlevel versions like 6.1+20181013
|
||||
|
||||
Reference in New Issue
Block a user