Gentoo Archives: gentoo-dev

From: Joerg Bornkessel <hd_brummy@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] vdr-plugin-2.eclass QA fix, please review, bug 778815
Date: Fri, 09 Apr 2021 21:10:55
Message-Id: 8fa9f5b7-ae99-5cd0-6706-9c79c602efa8@gentoo.org
1 https://bugs.gentoo.org/show_bug.cgi?id=778815
2
3 pkgcheck, gives an error like this
4 VariableScope: vdr-plugin-2: variable 'WORKDIR' used in
5 'vdr-plugin-2_pkg_setup', line 371
6
7 inserted patch will fix this issues
8
9 <snip>
10 --- vdr-plugin-2.eclass 2020-02-23 17:39:40.000000000 +0100
11 +++ vdr-plugin-2_QA-fixed.eclass 2021-04-06 23:27:37.358477036 +0200
12 @@ -368,7 +368,7 @@
13 VDR_INCLUDE_DIR="/usr/include/vdr"
14 DVB_INCLUDE_DIR="/usr/include"
15
16 - TMP_LOCALE_DIR="${WORKDIR}/tmp-locale"
17 + TMP_LOCALE_DIR="${T}/tmp-locale"
18
19 LOCDIR=$(pkg-config --variable=locdir vdr)
20 </snap>
21
22 i did several tests on my setup, it works like expected.
23 please review, thanks...
24
25 --
26 Joerg Bornkessel <hd_brummy@g.o>
27 GnuPG Key: 0x93EB5F4DAA5832A1
28 Fingerprint: 0E0A A1EE 1DF4 41D7 A3F5 21C2 93EB 5F4D AA58 32A1

Attachments

File name MIME type
OpenPGP_signature.asc application/pgp-signature

Replies