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 95E501382C5 for ; Fri, 5 Feb 2021 07:23:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D94FE08ED; Fri, 5 Feb 2021 07:23:25 +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 6FC76E08ED for ; Fri, 5 Feb 2021 07:23:25 +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 248B6342AB0 for ; Fri, 5 Feb 2021 07:23:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6909D49 for ; Fri, 5 Feb 2021 07:23:22 +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: <1612509800.4dd95ef5819b71b04ea02a7676c841363f756d35.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-9999.ebuild X-VCS-Directories: dev-embedded/libftdi/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4dd95ef5819b71b04ea02a7676c841363f756d35 X-VCS-Branch: master Date: Fri, 5 Feb 2021 07:23:22 +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: 8982990d-822e-4d3b-a764-8666b91c4de6 X-Archives-Hash: 9ad1083cabc2a470c661baafd318fd1d commit: 4dd95ef5819b71b04ea02a7676c841363f756d35 Author: Sam James gentoo org> AuthorDate: Fri Feb 5 07:23:13 2021 +0000 Commit: Sam James gentoo org> CommitDate: Fri Feb 5 07:23:20 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dd95ef5 dev-embedded/libftdi: sync live ebuild Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-embedded/libftdi/libftdi-9999.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/dev-embedded/libftdi/libftdi-9999.ebuild b/dev-embedded/libftdi/libftdi-9999.ebuild index 028e9c9ad1c..9b1e30890f4 100644 --- a/dev-embedded/libftdi/libftdi-9999.ebuild +++ b/dev-embedded/libftdi/libftdi-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -60,11 +60,19 @@ src_configure() { src_test() { cd "${BUILD_DIR}/test" || die - ./test_libftdi1 -l all || die + LD_LIBRARY_PATH="${BUILD_DIR}/src" ./test_libftdi1 -l all || die } src_install() { cmake_src_install + + # Fix up pkgconfig files + # bug #766818 + if use cxx ; then + sed -i -e "s/libftdipp1/libftdi1/" "${ED}"/usr/$(get_libdir)/pkgconfig/libftdi1.pc || die + sed -i -e "s/libftdi1/libftdipp1/" "${ED}"/usr/$(get_libdir)/pkgconfig/libftdipp1.pc || die + fi + use python && python_optimize dodoc AUTHORS ChangeLog README TODO