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 A0C8E1382C5 for ; Sun, 27 Dec 2020 20:34:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2226E0E1F; Sun, 27 Dec 2020 20:34:11 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 DB3B8E0E1F for ; Sun, 27 Dec 2020 20:34:11 +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 67F50341551 for ; Sun, 27 Dec 2020 20:34:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0B96F49 for ; Sun, 27 Dec 2020 20:34:09 +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: <1609101246.364092298b767b348cdcda3a7d191d3c78f4d514.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/libftdi/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-embedded/libftdi/libftdi-0.20-r1.ebuild X-VCS-Directories: dev-embedded/libftdi/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 364092298b767b348cdcda3a7d191d3c78f4d514 X-VCS-Branch: master Date: Sun, 27 Dec 2020 20:34:09 +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: 43bc10b4-54ed-4442-8a96-e9dd2ed34106 X-Archives-Hash: 23bbf578ea07b95287a35516f66f1a71 commit: 364092298b767b348cdcda3a7d191d3c78f4d514 Author: Sam James gentoo org> AuthorDate: Sun Dec 27 20:34:06 2020 +0000 Commit: Sam James gentoo org> CommitDate: Sun Dec 27 20:34:06 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36409229 dev-embedded/libftdi: respect USE=static-libs with :0 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-embedded/libftdi/libftdi-0.20-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-embedded/libftdi/libftdi-0.20-r1.ebuild b/dev-embedded/libftdi/libftdi-0.20-r1.ebuild index 4da9cd2541f..fa153fa8edc 100644 --- a/dev-embedded/libftdi/libftdi-0.20-r1.ebuild +++ b/dev-embedded/libftdi/libftdi-0.20-r1.ebuild @@ -19,7 +19,7 @@ HOMEPAGE="https://www.intra2net.com/en/developer/libftdi/" LICENSE="LGPL-2" SLOT="0" -IUSE="cxx doc examples python" +IUSE="cxx doc examples python static-libs" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" BDEPEND=" @@ -60,6 +60,7 @@ src_configure() { -DPYTHON_BINDINGS=$(usex python) -DCMAKE_SKIP_BUILD_RPATH=ON ) + cmake_src_configure } @@ -79,4 +80,6 @@ src_install() { docinto examples dodoc examples/*.c fi + + use static-libs || rm "${ED}"/usr/$(get_libdir)/${PN}.a || die }