https://bugs.gentoo.org/show_bug.cgi?id=778815

pkgcheck, gives an error like this
VariableScope: vdr-plugin-2: variable 'WORKDIR' used in 'vdr-plugin-2_pkg_setup', line 371

inserted patch will fix this issues

<snip>
--- vdr-plugin-2.eclass 2020-02-23 17:39:40.000000000 +0100
+++ vdr-plugin-2_QA-fixed.eclass    2021-04-06 23:27:37.358477036 +0200
@@ -368,7 +368,7 @@
    VDR_INCLUDE_DIR="/usr/include/vdr"
    DVB_INCLUDE_DIR="/usr/include"

-   TMP_LOCALE_DIR="${WORKDIR}/tmp-locale"
+   TMP_LOCALE_DIR="${T}/tmp-locale"

    LOCDIR=$(pkg-config --variable=locdir vdr)
</snap>

i did several tests on my setup, it works like expected.
please review, thanks...

--
Joerg Bornkessel <hd_bru...@gentoo.org>
GnuPG Key: 0x93EB5F4DAA5832A1
Fingerprint: 0E0A A1EE 1DF4 41D7 A3F5 21C2 93EB 5F4D AA58 32A1

Attachment: OpenPGP_signature
Description: OpenPGP digital signature

Reply via email to