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 1A62A13835B for ; Thu, 27 May 2021 21:06:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 554D8E097A; Thu, 27 May 2021 21:06:52 +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 3AA36E0970 for ; Thu, 27 May 2021 21:06:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 1714933BE22 for ; Thu, 27 May 2021 21:06:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 48AD579E for ; Thu, 27 May 2021 21:06:48 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1622149541.766ccf333003215d0b0d0fc3b86a84eb52a7feb4.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/mpir/, sci-libs/mpir/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/mpir/files/mpir-2.7.2-ABI-multilib.patch sci-libs/mpir/mpir-3.0.0-r1.ebuild sci-libs/mpir/mpir-3.0.0.ebuild X-VCS-Directories: sci-libs/mpir/files/ sci-libs/mpir/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 766ccf333003215d0b0d0fc3b86a84eb52a7feb4 X-VCS-Branch: master Date: Thu, 27 May 2021 21:06:48 +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: 19badc5b-7f25-4d23-9761-423b86fa5575 X-Archives-Hash: 99bfdf32ab435a5c7f44e19b46f05ffb commit: 766ccf333003215d0b0d0fc3b86a84eb52a7feb4 Author: Jakov Smolic sartura hr> AuthorDate: Thu May 27 21:05:41 2021 +0000 Commit: David Seifert gentoo org> CommitDate: Thu May 27 21:05:41 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=766ccf33 sci-libs/mpir: Port to EAPI 7, drop static-libs Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: David Seifert gentoo.org> sci-libs/mpir/files/mpir-2.7.2-ABI-multilib.patch | 4 ++-- .../mpir/{mpir-3.0.0.ebuild => mpir-3.0.0-r1.ebuild} | 18 ++++++++---------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/sci-libs/mpir/files/mpir-2.7.2-ABI-multilib.patch b/sci-libs/mpir/files/mpir-2.7.2-ABI-multilib.patch index f02df55ccf9..100a6ae7088 100644 --- a/sci-libs/mpir/files/mpir-2.7.2-ABI-multilib.patch +++ b/sci-libs/mpir/files/mpir-2.7.2-ABI-multilib.patch @@ -1,5 +1,5 @@ ---- a/configure.ac 2009-11-28 10:48:59.196977657 +0000 -+++ b/configure.ac 2009-11-28 10:54:50.717976971 +0000 +--- a/configure.ac ++++ b/configure.ac @@ -361,7 +361,7 @@ # hugely bloat the output. diff --git a/sci-libs/mpir/mpir-3.0.0.ebuild b/sci-libs/mpir/mpir-3.0.0-r1.ebuild similarity index 85% rename from sci-libs/mpir/mpir-3.0.0.ebuild rename to sci-libs/mpir/mpir-3.0.0-r1.ebuild index ccd38ea08c0..eab814932b3 100644 --- a/sci-libs/mpir/mpir-3.0.0.ebuild +++ b/sci-libs/mpir/mpir-3.0.0-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit autotools toolchain-funcs @@ -12,14 +12,12 @@ SRC_URI="http://www.mpir.org/${P}.tar.bz2" LICENSE="LGPL-3" SLOT="0/23" KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ppc ppc64 ~s390 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="+cxx cpudetection static-libs" +IUSE="+cxx cpudetection" -DEPEND=" +BDEPEND=" x86? ( dev-lang/yasm ) amd64? ( dev-lang/yasm ) - amd64-fbsd? ( dev-lang/yasm ) " -RDEPEND="" PATCHES=( "${FILESDIR}"/${PN}-2.7.2-ABI-multilib.patch @@ -35,7 +33,7 @@ src_prepare() { ebegin "Patching assembler files to remove executable sections" local i for i in $(find . -type f -name '*.asm') ; do - cat >> $i <<-EOF + cat >> $i <<-EOF || die #if defined(__linux__) && defined(__ELF__) .section .note.GNU-stack,"",%progbits @@ -44,7 +42,7 @@ src_prepare() { done for i in $(find . -type f -name '*.as') ; do - cat >> $i <<-EOF + cat >> $i <<-EOF || die %ifidn __OUTPUT_FORMAT__,elf section .note.GNU-stack noalloc noexec nowrite progbits @@ -62,16 +60,16 @@ src_configure() { local myeconfargs=( $(use_enable cxx) $(use_enable cpudetection fat) - $(use_enable static-libs static) + --disable-static ) # https://bugs.gentoo.org/661430 if ! use amd64 && ! use x86; then - myeconfargs+=( --with-yasm=/bin/false ) + myeconfargs+=( --with-yasm="${BROOT}"/bin/false ) fi econf "${myeconfargs[@]}" } src_install() { default - use static-libs || rm -f "${ED}"/usr/$(get_libdir)/*la + find "${ED}" -name '*.la' -delete || die }