From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 56151138359 for ; Sat, 3 Oct 2020 18:16:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9FEA4E07C5; Sat, 3 Oct 2020 18:16:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 85FC4E07C5 for ; Sat, 3 Oct 2020 18:16:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D7ACA335D32 for ; Sat, 3 Oct 2020 18:16:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 50901373 for ; Sat, 3 Oct 2020 18:16:40 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1601748944.0daeb20c4f7a0246624d0fc3d394021c3fcecb4c.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/lcd4linux/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild X-VCS-Directories: app-misc/lcd4linux/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 0daeb20c4f7a0246624d0fc3d394021c3fcecb4c X-VCS-Branch: master Date: Sat, 3 Oct 2020 18:16:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f091f7fa-ebc8-4f1c-a778-d16b1aac5594 X-Archives-Hash: 1ebcd8780f6bb87549e02667babcd2b8 commit: 0daeb20c4f7a0246624d0fc3d394021c3fcecb4c Author: Conrad Kostecki gentoo org> AuthorDate: Sat Oct 3 18:15:44 2020 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Oct 3 18:15:44 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0daeb20c app-misc/lcd4linux: fix newer python versions Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Conrad Kostecki gentoo.org> app-misc/lcd4linux/lcd4linux-0.11.0_pre20170527-r5.ebuild | 8 ++++++-- 1 file 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 cfb01cb2821..4415c3b2ae7 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