diff options
author | Jakov Smolic <jakov.smolic@sartura.hr> | 2021-01-17 12:51:10 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-01-17 12:51:10 +0100 |
commit | bb27b37c3eabd9c9ca5090a95ea3e9f66ce46ff5 (patch) | |
tree | f07cbf1ecad8162a7c750aa261ff3277d417f61d /sci-libs/mpir | |
parent | sci-libs/mumps: Remove old (diff) | |
download | gentoo-bb27b37c3eabd9c9ca5090a95ea3e9f66ce46ff5.tar.gz gentoo-bb27b37c3eabd9c9ca5090a95ea3e9f66ce46ff5.tar.bz2 gentoo-bb27b37c3eabd9c9ca5090a95ea3e9f66ce46ff5.zip |
sci-libs/mpir: Remove old
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs/mpir')
-rw-r--r-- | sci-libs/mpir/Manifest | 1 | ||||
-rw-r--r-- | sci-libs/mpir/files/mpir-2.7.2-sed-backport.patch | 16 | ||||
-rw-r--r-- | sci-libs/mpir/mpir-2.7.2.ebuild | 74 |
3 files changed, 0 insertions, 91 deletions
diff --git a/sci-libs/mpir/Manifest b/sci-libs/mpir/Manifest index 0313b4c4e45b..d9ece8a2318f 100644 --- a/sci-libs/mpir/Manifest +++ b/sci-libs/mpir/Manifest @@ -1,3 +1,2 @@ DIST mpir-2.6.0.tar.lzma 2472231 BLAKE2B ec768fb78317220d677fac24609fdc4db1315e3c5594d7e098a0f502c38eb8dcf69bac5317c3b7afd629c089504856bb686aa4de65ad54b4f728325e100db44f SHA512 e2608beeb72651c9b2e47f8fb2bcf672f8c74e2cd622e17cd19b12100b66e929ee31d102d2901816379b23aee1a3ea3a854e3e10ebffe2a6e4772748858f911d -DIST mpir-2.7.2.tar.bz2 3771429 BLAKE2B c3431bcb84207fdb1bc0242fe56b7c2d45643e8c21c4b215162f824bed3a395972f734907f966bc14c58a28d30bb35f441b16b2762a9c8ef9c02d164f804bc82 SHA512 8436a0123201f9e30130ea340331c5a6445dddb58ce1f6c6a3a8303c310ac5b3c279c83b5c520a757cba82c2b14e92da44583e0eec287090cf69cbb29d516a9c DIST mpir-3.0.0.tar.bz2 2572041 BLAKE2B f564944dd76586ca6e50c39f1199468b905a3db7bbb8b2ee6cf3dcdfb00757d7eefc57e010d5cfc3d6db7ba2676e36f7980365e85c87827b4901ec4e80349915 SHA512 c735105db8b86db739fd915bf16064e6bc82d0565ad8858059e4e93f62c9d72d9a1c02a5ca9859b184346a8dc64fa714d4d61404cff1e405dc548cbd54d0a88e diff --git a/sci-libs/mpir/files/mpir-2.7.2-sed-backport.patch b/sci-libs/mpir/files/mpir-2.7.2-sed-backport.patch deleted file mode 100644 index 897642909ca0..000000000000 --- a/sci-libs/mpir/files/mpir-2.7.2-sed-backport.patch +++ /dev/null @@ -1,16 +0,0 @@ - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index a3821c5..15fa93d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -2595,7 +2595,7 @@ for tmp_fn in $gmp_mpn_functions; do - sed -n 's/^[ ]*MULFUNC_PROLOGUE(\(.*\))/\1/p' $tmp_file ; - sed -n 's/^[ ]*PROLOGUE(\([^,]*\).*)/\1/p' $tmp_file ; - sed -n 's/^;[ ]*PROLOGUE(\([^,]*\).*)/\1/p' $tmp_file ; -- sed -n 's/[^G]*GLOBAL_FUNC[:space:]*\(.*\)/\1/p' $tmp_file ; -+ sed -n 's/[^G]*GLOBAL_FUNC[[:space:]]*\(.*\)/\1/p' $tmp_file ; - `] - for gmp_tmp in $gmp_ep; do - AC_DEFINE_UNQUOTED(HAVE_NATIVE_$gmp_tmp) diff --git a/sci-libs/mpir/mpir-2.7.2.ebuild b/sci-libs/mpir/mpir-2.7.2.ebuild deleted file mode 100644 index f3e1deeb567d..000000000000 --- a/sci-libs/mpir/mpir-2.7.2.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit autotools toolchain-funcs - -DESCRIPTION="Library for arbitrary precision integer arithmetic (fork of gmp)" -HOMEPAGE="http://www.mpir.org/" -SRC_URI="http://www.mpir.org/${P}.tar.bz2" - -LICENSE="LGPL-3" -SLOT="0/16" -KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" -IUSE="+cxx cpudetection static-libs" - -DEPEND=" - x86? ( dev-lang/yasm ) - amd64? ( dev-lang/yasm ) -" -RDEPEND="" - -PATCHES=( - "${FILESDIR}"/${P}-ABI-multilib.patch - "${FILESDIR}"/${P}-sed-backport.patch -) - -src_prepare() { - tc-export CC - - default - - # In the same way there was QA regarding executable stacks - # with GMP we have some here as well. We cannot apply the - # GMP solution as yasm is used, at least on x86/amd64. - # Furthermore we are able to patch config.ac. - ebegin "Patching assembler files to remove executable sections" - local i - for i in $(find . -type f -name '*.asm') ; do - cat >> $i <<-EOF - #if defined(__linux__) && defined(__ELF__) - .section .note.GNU-stack,"",%progbits - #endif - EOF - done - - for i in $(find . -type f -name '*.as') ; do - cat >> $i <<-EOF - %ifidn __OUTPUT_FORMAT__,elf - section .note.GNU-stack noalloc noexec nowrite progbits - %endif - EOF - done - eend - eautoreconf -} - -src_configure() { - # beware that cpudetection aka fat binaries is x86/amd64 only. - # Place mpir in profiles/arch/$arch/package.use.mask - # when making it available on $arch. - myeconfargs+=( - --with-system-yasm - $(use_enable cxx) - $(use_enable cpudetection fat) - $(use_enable static-libs static) - ) - econf ${myeconfargs[@]} -} - -src_install() { - default - rm "${ED}"/usr/$(get_libdir)/*la || die -} |