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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5108A15808B for ; Sat, 26 Mar 2022 00:09:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EA37E083D; Sat, 26 Mar 2022 00:09:09 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C6D87E07B3 for ; Sat, 26 Mar 2022 00:09:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BCF4D343503 for ; Sat, 26 Mar 2022 00:09:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5B3BB339 for ; Sat, 26 Mar 2022 00:09:06 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1648253200.dec288a99cd35d4dae9b0312437874627b221fb8.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/arduino-listserialportsc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-embedded/arduino-listserialportsc/arduino-listserialportsc-1.4.0.ebuild X-VCS-Directories: dev-embedded/arduino-listserialportsc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: dec288a99cd35d4dae9b0312437874627b221fb8 X-VCS-Branch: master Date: Sat, 26 Mar 2022 00:09:06 +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: 67dc1903-b3e0-411c-9dd5-549a880fe0c2 X-Archives-Hash: 7456ebccd614c26b1bc9eaa94c8d2329 commit: dec288a99cd35d4dae9b0312437874627b221fb8 Author: Sam James gentoo org> AuthorDate: Sat Mar 26 00:06:40 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Mar 26 00:06:40 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dec288a9 dev-embedded/arduino-listserialportsc: add missing || dies Signed-off-by: Sam James gentoo.org> .../arduino-listserialportsc-1.4.0.ebuild | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/dev-embedded/arduino-listserialportsc/arduino-listserialportsc-1.4.0.ebuild b/dev-embedded/arduino-listserialportsc/arduino-listserialportsc-1.4.0.ebuild index 7a3b5304855c..b9a28eb7e8cd 100644 --- a/dev-embedded/arduino-listserialportsc/arduino-listserialportsc-1.4.0.ebuild +++ b/dev-embedded/arduino-listserialportsc/arduino-listserialportsc-1.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -8,6 +8,7 @@ inherit java-pkg-2 toolchain-funcs DESCRIPTION="Arduino helper library to list serial ports" HOMEPAGE="https://github.com/arduino/listSerialPortsC" SRC_URI="https://github.com/arduino/listSerialPortsC/archive/${PV}.tar.gz -> ${P}.tar.gz" + LICENSE="LGPL-3" SLOT="0" KEYWORDS="amd64 x86" @@ -19,20 +20,20 @@ DEPEND="${RDEPEND} S="${WORKDIR}/listSerialPortsC-${PV}" src_compile() { - CC=$(tc-getCC) - ${CC} -Wall -O2 ${CPPFLAGS} ${CFLAGS} -c -o main.o main.c - ${CC} ${CFLAGS} ${LDFLAGS} main.o -lserialport -o listSerialC + $(tc-getCC) -O2 -Wall ${CPPFLAGS} ${CFLAGS} -c -o main.o main.c || die + + $(tc-getCC) ${CFLAGS} ${LDFLAGS} main.o -lserialport -o listSerialC || die - ${CC} \ - -Wall -O2 ${CPPFLAGS} ${CFLAGS} -fPIC \ + $(tc-getCC) \ + -O2 -Wall ${CPPFLAGS} ${CFLAGS} -fPIC \ -I$(java-config-2 -o)/include \ -I$(java-config-2 -o)/include/linux \ - -o jnilib.o -c jnilib.c + -o jnilib.o -c jnilib.c || die - ${CC} \ + $(tc-getCC) \ ${CFLAGS} ${LDFLAGS} \ -shared -Wl,-soname,liblistSerialsj.so \ - jnilib.o -lserialport -o liblistSerialsj.so.${PV} + jnilib.o -lserialport -o liblistSerialsj.so.${PV} || die } src_install() {