1 |
commit: 0daeb20c4f7a0246624d0fc3d394021c3fcecb4c |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 3 18:15:44 2020 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 3 18:15:44 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0daeb20c |
7 |
|
8 |
app-misc/lcd4linux: fix newer python versions |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
12 |
|
13 |
app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild | 8 ++++++-- |
14 |
1 file changed, 6 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild b/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild |
17 |
index cfb01cb2821..4415c3b2ae7 100644 |
18 |
--- a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild |
19 |
+++ b/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild |
20 |
@@ -24,7 +24,7 @@ REQUIRED_USE=" |
21 |
# Some drivers were removed from this list: |
22 |
# - lcdlinux: It's an ancient driver, which needs app-misc/lcd-linux, that made it never to the portage tree. |
23 |
# - lcdlinux: Besides, app-misc/lcd-linux won't compile on a modern linux kernel. |
24 |
-# - st2205: It's needs dev-libs/libst2205, which made it never to the portage tree and is quite outdated. |
25 |
+# - st2205: It's needs dev-libs/libst2205, which made it never to the portage tree and is quite outdated. |
26 |
IUSE_LCD_DEVICES=( |
27 |
ASTUSB BeckmannEgle BWCT CrystalFontz Curses Cwlinux D4D DPF EA232graphic EFN FutabaVFD |
28 |
FW8888 G15 GLCD2USB HD44780 HD44780-I2C IRLCD LCD2USB LCDTerm LEDMatrix LPH7508 LUIse LW_ABP M50530 |
29 |
@@ -142,7 +142,11 @@ src_prepare() { |
30 |
rm ax_python_devel.m4 |
31 |
|
32 |
# Use correct python version. |
33 |
- append-libs "-lpython${EPYTHON#python}m" |
34 |
+ if use python_single_target_python3_6 || use python_single_target_python3_7; then |
35 |
+ append-libs "-lpython${EPYTHON#python}m" |
36 |
+ else |
37 |
+ append-libs "-lpython${EPYTHON#python}" |
38 |
+ fi |
39 |
fi |
40 |
|
41 |
eautoreconf |