summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-10-03 20:15:44 +0200
committerConrad Kostecki <conikost@gentoo.org>2020-10-03 20:15:44 +0200
commit0daeb20c4f7a0246624d0fc3d394021c3fcecb4c (patch)
treec749e089dc58e726a7fef286029f4b5e73471866 /app-misc/lcd4linux
parentmail-client/thunderbird-bin: bump to v78.3.1 (diff)
downloadgentoo-0daeb20c4f7a0246624d0fc3d394021c3fcecb4c.tar.gz
gentoo-0daeb20c4f7a0246624d0fc3d394021c3fcecb4c.tar.bz2
gentoo-0daeb20c4f7a0246624d0fc3d394021c3fcecb4c.zip
app-misc/lcd4linux: fix newer python versions
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-misc/lcd4linux')
-rw-r--r--app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild b/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild
index cfb01cb28216..4415c3b2ae7b 100644
--- a/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild
+++ b/app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild
@@ -24,7 +24,7 @@ REQUIRED_USE="
# Some drivers were removed from this list:
# - lcdlinux: It's an ancient driver, which needs app-misc/lcd-linux, that made it never to the portage tree.
# - lcdlinux: Besides, app-misc/lcd-linux won't compile on a modern linux kernel.
-# - st2205: It's needs dev-libs/libst2205, which made it never to the portage tree and is quite outdated.
+# - st2205: It's needs dev-libs/libst2205, which made it never to the portage tree and is quite outdated.
IUSE_LCD_DEVICES=(
ASTUSB BeckmannEgle BWCT CrystalFontz Curses Cwlinux D4D DPF EA232graphic EFN FutabaVFD
FW8888 G15 GLCD2USB HD44780 HD44780-I2C IRLCD LCD2USB LCDTerm LEDMatrix LPH7508 LUIse LW_ABP M50530
@@ -142,7 +142,11 @@ src_prepare() {
rm ax_python_devel.m4
# Use correct python version.
- append-libs "-lpython${EPYTHON#python}m"
+ if use python_single_target_python3_6 || use python_single_target_python3_7; then
+ append-libs "-lpython${EPYTHON#python}m"
+ else
+ append-libs "-lpython${EPYTHON#python}"
+ fi
fi
eautoreconf