summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2024-09-03 15:07:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-09-04 12:38:44 +0100
commita57341d6ea3a9d65b0ecf6c1c46abe8a5c7b9207 (patch)
tree47e7342549e475a85689c88fbec214046b205dcb /meta/recipes-core
parentdbd4b2c583fc89ab203374341206fbdc3826ff60 (diff)
downloadpoky-a57341d6ea3a9d65b0ecf6c1c46abe8a5c7b9207.tar.gz
gettext: Drop obsolete ptest conditional in do_install
The PTEST_ENABLED conditional is no longer needed since the task is deleted if ptest isn't enabled. (From OE-Core rev: 6037ad74d88ff23821120422f2f0d0366daa8ec7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/gettext/gettext_0.22.5.bb2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.22.5.bb b/meta/recipes-core/gettext/gettext_0.22.5.bb
index ef5272a206..0bf2a56e5f 100644
--- a/meta/recipes-core/gettext/gettext_0.22.5.bb
+++ b/meta/recipes-core/gettext/gettext_0.22.5.bb
@@ -145,7 +145,6 @@ do_compile_ptest() {
145} 145}
146 146
147do_install_ptest() { 147do_install_ptest() {
148 if [ ${PTEST_ENABLED} = "1" ]; then
149 mkdir -p ${D}${PTEST_PATH}/tests 148 mkdir -p ${D}${PTEST_PATH}/tests
150 mkdir -p ${D}${PTEST_PATH}/src 149 mkdir -p ${D}${PTEST_PATH}/src
151 mkdir -p ${D}${PTEST_PATH}/po 150 mkdir -p ${D}${PTEST_PATH}/po
@@ -178,7 +177,6 @@ do_install_ptest() {
178 chmod 0755 ${D}${PTEST_PATH}/tests/lang-vala ${D}${PTEST_PATH}/tests/plural-1 ${D}${PTEST_PATH}/tests/xgettext-tcl-4 \ 177 chmod 0755 ${D}${PTEST_PATH}/tests/lang-vala ${D}${PTEST_PATH}/tests/plural-1 ${D}${PTEST_PATH}/tests/xgettext-tcl-4 \
179 ${D}${PTEST_PATH}/tests/xgettext-vala-1 ${D}${PTEST_PATH}/tests/xgettext-po-2 ${D}${PTEST_PATH}/tests/xgettext-vala-6 178 ${D}${PTEST_PATH}/tests/xgettext-vala-1 ${D}${PTEST_PATH}/tests/xgettext-po-2 ${D}${PTEST_PATH}/tests/xgettext-vala-6
180 sed -i -e 's|${DEBUG_PREFIX_MAP}||g' ${D}${PTEST_PATH}/tests/init-env 179 sed -i -e 's|${DEBUG_PREFIX_MAP}||g' ${D}${PTEST_PATH}/tests/init-env
181 fi
182} 180}
183 181
184RDEPENDS:${PN}-ptest += "make xz bash gawk autoconf locale-base-de-de locale-base-fr-fr" 182RDEPENDS:${PN}-ptest += "make xz bash gawk autoconf locale-base-de-de locale-base-fr-fr"