Skip to contentSkip to conversation

python3-matplotlib: Generate correctly names setup config file

PATCH New Khem Raj 1 participant 1 message Dec 14, 2021

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 python3-matplotlib: Generate correctly names setup config file

The file should be called mplsetup.cfg"

---
 .../python/python3-matplotlib_3.5.1.bb                 | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
meta-python/recipes-devtools/python/python3-matplotlib_3.5.1.bb +5 -5
index f9eb79ff1c..f8448d5f1d 100644
@@ -40,12 +40,12 @@ RDEPENDS:${PN} = "\
     ${PYTHON_PN}-pytz \
 "
 
-ENABLELTO:toolchain-clang:riscv64 = "echo enable_lto = False >> ${S}/setup.cfg"
-ENABLELTO:toolchain-clang:riscv32 = "echo enable_lto = False >> ${S}/setup.cfg"
-ENABLELTO:toolchain-clang:mips = "echo enable_lto = False >> ${S}/setup.cfg"
+ENABLELTO:toolchain-clang:riscv64 = "echo enable_lto = False >> ${S}/mplsetup.cfg"
+ENABLELTO:toolchain-clang:riscv32 = "echo enable_lto = False >> ${S}/mplsetup.cfg"
+ENABLELTO:toolchain-clang:mips = "echo enable_lto = False >> ${S}/mplsetup.cfg"
 do_compile:prepend() {
-    echo [libs] > ${S}/setup.cfg
-    echo system_freetype = true >> ${S}/setup.cfg
+    echo [libs] > ${S}/mplsetup.cfg
+    echo system_freetype = True >> ${S}/mplsetup.cfg
     ${ENABLELTO}
 }
 
Signature · 1 line
2.34.1