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 7745A13835A for ; Sat, 3 Apr 2021 21:58:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47C7CE088C; Sat, 3 Apr 2021 21:58:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 32118E088C for ; Sat, 3 Apr 2021 21:58:46 +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 49497340C40 for ; Sat, 3 Apr 2021 21:58:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 50DC4648 for ; Sat, 3 Apr 2021 21:58:42 +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: <1617487085.0546005a562d4c2e0f3a6d8cd0b4f36a352d5906.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libmba/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libmba/libmba-0.9.1-r3.ebuild X-VCS-Directories: dev-libs/libmba/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0546005a562d4c2e0f3a6d8cd0b4f36a352d5906 X-VCS-Branch: master Date: Sat, 3 Apr 2021 21:58:42 +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: c10c3dcd-a632-4b37-8137-36b5020a50c9 X-Archives-Hash: f97e9f1ad1c67b76dc60bbb0e312a1b2 commit: 0546005a562d4c2e0f3a6d8cd0b4f36a352d5906 Author: Sam James gentoo org> AuthorDate: Sat Apr 3 21:55:42 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Apr 3 21:58:05 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0546005a dev-libs/libmba: EAPI 7, eutils--, multilib--, static-libs-- Signed-off-by: Sam James gentoo.org> dev-libs/libmba/libmba-0.9.1-r3.ebuild | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/dev-libs/libmba/libmba-0.9.1-r3.ebuild b/dev-libs/libmba/libmba-0.9.1-r3.ebuild index b0ffe135dfa..e16e8608b47 100644 --- a/dev-libs/libmba/libmba-0.9.1-r3.ebuild +++ b/dev-libs/libmba/libmba-0.9.1-r3.ebuild @@ -1,22 +1,25 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils flag-o-matic multilib toolchain-funcs +EAPI=7 + +inherit flag-o-matic toolchain-funcs DESCRIPTION="A library of generic C modules" LICENSE="MIT" HOMEPAGE="http://www.ioplex.com/~miallen/libmba/" SRC_URI="http://www.ioplex.com/~miallen/libmba/dl/${P}.tar.gz" + SLOT="0" KEYWORDS="amd64 x86" -IUSE="static-libs" -src_prepare() { - use static-libs && export STATIC="1" +PATCHES=( + "${FILESDIR}"/${P}-qa.patch + "${FILESDIR}"/${P}-glibc-2.20.patch +) - epatch "${FILESDIR}"/${P}-qa.patch - epatch "${FILESDIR}"/${P}-glibc-2.20.patch +src_prepare() { + default tc-export CC sed -i -e "s:gcc:${CC}:g" mktool.c || die @@ -33,9 +36,10 @@ src_install() { emake DESTDIR="${D}" LIBDIR="$(get_libdir)" install dodoc README.txt docs/*.txt - dohtml -r docs/*.html docs/www/* docs/ref + docinto html + dodoc -r docs/*.html docs/www/* docs/ref - insinto /usr/share/doc/${PF}/examples + docinto examples doins examples/* gunzip -v $(find "${ED}" -name '*.[0-9]*.gz') || die