This helps with build determinism; also if readline is not in sysroot
but readline-native is, fontforge erroneously decides to build with it.

Signed-off-by: Alexander Kanavin <[email protected]>
---
 meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb 
b/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb
index 404e86b86..31dd495fd 100644
--- a/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb
+++ b/meta-oe/recipes-graphics/fontforge/fontforge_20230101.bb
@@ -24,6 +24,8 @@ SRC_URI = 
"git://github.com/${BPN}/${BPN}.git;branch=master;protocol=https \
 S = "${WORKDIR}/git"
 
 EXTRA_OECMAKE = "-DENABLE_DOCS=OFF"
+PACKAGECONFIG = "readline"
+PACKAGECONFIG[readline] = "-DENABLE_READLINE=ON,-DENABLE_READLINE=OFF,readline"
 
 CFLAGS += "-fno-strict-aliasing"
 LDFLAGS += "-lpython${PYTHON_BASEVERSION}${PYTHON_ABI}"
-- 
2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#107952): 
https://lists.openembedded.org/g/openembedded-devel/message/107952
Mute This Topic: https://lists.openembedded.org/mt/103445557/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to