summaryrefslogtreecommitdiff
path: root/sci-libs/mpir
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-04-13 12:04:20 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-04-13 12:04:20 +0100
commitd993571e2ee444d08f4e9e90d493ee37338657e3 (patch)
tree5a49a1d4ceffe800051e363f64571c3b6735d2f7 /sci-libs/mpir
parent266d65d0cceeb55ab2cc3bf4e465d7f35502a900 (diff)
gentoo auto-resync : 13:04:2024 - 12:04:19
Diffstat (limited to 'sci-libs/mpir')
-rw-r--r--sci-libs/mpir/Manifest4
-rw-r--r--sci-libs/mpir/files/mpir-2.7.2-ABI-multilib.patch145
-rw-r--r--sci-libs/mpir/metadata.xml24
-rw-r--r--sci-libs/mpir/mpir-3.0.0-r1.ebuild77
4 files changed, 0 insertions, 250 deletions
diff --git a/sci-libs/mpir/Manifest b/sci-libs/mpir/Manifest
deleted file mode 100644
index 48c69b131f21..000000000000
--- a/sci-libs/mpir/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-AUX mpir-2.7.2-ABI-multilib.patch 3830 BLAKE2B e1f39b6f8d21546680cda9f82307af4601ba3e3cb16f5b9039fcf43a8d9ff28261bc2f4ff204f03d794254c4edc906b9babd0a51ee70cf0f5a6d89a3a245fbe3 SHA512 d55ef6f1b3a41755623a64d8873317887c4e5b630d52a5bd8d139e70bb746817899e3983f4f1178e7b1efc21ac0864debaa752e70369b5e071b4012e6cc965eb
-DIST mpir-3.0.0.tar.bz2 2572041 BLAKE2B f564944dd76586ca6e50c39f1199468b905a3db7bbb8b2ee6cf3dcdfb00757d7eefc57e010d5cfc3d6db7ba2676e36f7980365e85c87827b4901ec4e80349915 SHA512 c735105db8b86db739fd915bf16064e6bc82d0565ad8858059e4e93f62c9d72d9a1c02a5ca9859b184346a8dc64fa714d4d61404cff1e405dc548cbd54d0a88e
-EBUILD mpir-3.0.0-r1.ebuild 1804 BLAKE2B 02670b237150ea9d9f997222d3518341a363c72f65c453882d74ce37f3d2357eb20148ca2b6f36c3140a87fe6cd1c8f868cc6d4866c8066375d3070e8483f902 SHA512 daf6a16043d8e9ac4d97d89b7ba6bef361530da4f108faff1d0d2a3f07a0b00aaba2da4aab595ddf6110b8ca6ff614e63a62d7b5f0b714702e641f97c7ca7880
-MISC metadata.xml 859 BLAKE2B daa9dd3f1bae0f85a5dc4418416efa8ab6a98dd268792db8dcf6e4b376c34c9c5339ea7a16348b465b9bf37e7630bf1a74bcb78e979a3cd2e2f62fdecffe7c95 SHA512 fdb600446c5438e31506832a847e6ef3b2a4c7436ace89a23e2e78c1e14e92dd9ac8c2523eded60752d621e754b742986660b1357d79f2fe0b3f3d5f2f774d44
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
deleted file mode 100644
index 100a6ae7088d..000000000000
--- a/sci-libs/mpir/files/mpir-2.7.2-ABI-multilib.patch
+++ /dev/null
@@ -1,145 +0,0 @@
---- a/configure.ac
-+++ b/configure.ac
-@@ -361,7 +361,7 @@
- # hugely bloat the output.
-
-
--AC_ARG_VAR(ABI, [desired ABI (for processors supporting more than one ABI)])
-+AC_ARG_VAR(MPIRABI, [desired ABI (for processors supporting more than one ABI)])
-
- # abilist needs to be non-empty, "standard" is just a generic name here
- abilist="standard"
-@@ -1590,7 +1590,7 @@
-
- cat >&AC_FD_CC <<EOF
- User:
--ABI=$ABI
-+MPIRABI=$MPIRABI
- CC=$CC
- CFLAGS=$CFLAGS_or_unset
- CPPFLAGS=$CPPFLAGS_or_unset
-@@ -1611,22 +1611,22 @@
- # If the user specifies an ABI then it must be in $abilist, after that
- # $abilist is restricted to just that choice.
- #
--if test -n "$ABI"; then
-+if test -n "$MPIRABI"; then
- found=no
- for abi in $abilist; do
-- if test $abi = "$ABI"; then found=yes; break; fi
-+ if test $abi = "$MPIRABI"; then found=yes; break; fi
- done
- if test $found = no; then
-- AC_MSG_ERROR([ABI=$ABI is not among the following valid choices: $abilist])
-+ AC_MSG_ERROR([MPIRABI=$MPIRABI is not among the following valid choices: $abilist])
- fi
-- abilist="$ABI"
-+ abilist="$MPIRABI"
- fi
-
- found_compiler=no
-
- for abi in $abilist; do
-
-- echo "checking ABI=$abi"
-+ echo "checking MPIRABI=$abi"
-
- # Suppose abilist="64 32", then for abi=64, will have abi1="_64" and
- # abi2="_64". For abi=32, will have abi1="_32" and abi2="". This is how
-@@ -1879,7 +1879,7 @@
- done
- fi
-
-- ABI="$abi"
-+ MPIRABI="$abi"
- CC="$cc"
- CFLAGS="$cflags"
- CPPFLAGS="$cppflags"
-@@ -1895,8 +1895,8 @@
- AC_SUBST(GMP_CFLAGS)
-
- # Could easily have this in config.h too, if desired.
-- ABI_nodots=`echo $ABI | sed 's/\./_/'`
-- GMP_DEFINE_RAW("define_not_for_expansion(\`HAVE_ABI_$ABI_nodots')", POST)
-+ ABI_nodots=`echo $MPIRABI | sed 's/\./_/'`
-+ GMP_DEFINE_RAW("define_not_for_expansion(\`HAVE_ABI_$MPIRABI_nodots')", POST)
-
-
- # GMP_LDFLAGS substitution, selected according to ABI.
-@@ -2094,7 +2094,7 @@
- #
- case $host in
- X86_PATTERN | X86_64_PATTERN)
-- if test "$ABI" = 32; then
-+ if test "$MPIRABI" = 32; then
- case "$path $fat_path" in
- *mmx*) GMP_ASM_X86_MMX( , [GMP_STRIP_PATH(*mmx*)]) ;;
- esac
-@@ -2108,7 +2108,7 @@
-
- cat >&AC_FD_CC <<EOF
- Decided:
--ABI=$ABI
-+MPIRABI=$MPIRABI
- CC=$CC
- CFLAGS=$CFLAGS
- CPPFLAGS=$CPPFLAGS
-@@ -2117,7 +2117,7 @@
- CXXFLAGS=$CXXFLAGS
- path=$path
- EOF
--echo "using ABI=\"$ABI\""
-+echo "using MPIRABI=\"$MPIRABI\""
- echo " CC=\"$CC\""
- echo " CFLAGS=\"$CFLAGS\""
- echo " CPPFLAGS=\"$CPPFLAGS\""
-@@ -2593,7 +2593,7 @@
-
-
- if test -n "$fat_path"; then
-- if test "$ABI" = 64; then
-+ if test "$MPIRABI" = 64; then
- fat_path="$fat_path_64"
- fi
-
-@@ -3099,19 +3099,19 @@
- GMP_INCLUDE_MPN(powerpc32/powerpc-defs.m4)
- case $host in
- *-*-aix*)
-- case $ABI in
-+ case $MPIRABI in
- 64 | aix64) GMP_INCLUDE_MPN(powerpc64/aix.m4) ;;
- *) GMP_INCLUDE_MPN(powerpc32/aix.m4) ;;
- esac
- ;;
- *-*-linux* | *-*-*bsd*)
-- case $ABI in
-+ case $MPIRABI in
- mode64) GMP_INCLUDE_MPN(powerpc64/elf.m4) ;;
- mode32 | 32) GMP_INCLUDE_MPN(powerpc32/elf.m4) ;;
- esac
- ;;
- *-*-darwin*)
-- case $ABI in
-+ case $MPIRABI in
- mode64) GMP_INCLUDE_MPN(powerpc64/darwin.m4) ;;
- mode32 | 32) GMP_INCLUDE_MPN(powerpc32/darwin.m4) ;;
- esac
-@@ -3126,7 +3126,7 @@
- GMP_INCLUDE_MPN(powerpc32/aix.m4)
- ;;
- sparcv9*-*-* | ultrasparc*-*-* | sparc64-*-*)
-- case $ABI in
-+ case $MPIRABI in
- 64)
- GMP_ASM_SPARC_REGISTER
- ;;
-@@ -3134,7 +3134,7 @@
- ;;
- X86_PATTERN | X86_64_PATTERN)
- GMP_ASM_ALIGN_FILL_0x90
-- case $ABI in
-+ case $MPIRABI in
- 32)
- GMP_INCLUDE_MPN(x86/x86-defs.m4)
- AC_DEFINE(HAVE_HOST_CPU_FAMILY_x86)
diff --git a/sci-libs/mpir/metadata.xml b/sci-libs/mpir/metadata.xml
deleted file mode 100644
index 926ae4d3740e..000000000000
--- a/sci-libs/mpir/metadata.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <longdescription>
-MPIR is an open source multiprecision integer (bignum) library forked
-from the GMP (GNU Multi Precision) project. It consists of much code
-from past GMP releases, in combination with much original contributed
-code.
-
-MPIR is constructed by a developer and vendor friendly community of
-professional and amateur mathematicians, computer scientists and
-hobbyists.
- </longdescription>
- <use>
- <flag name="cpudetection">Enables runtime cpudetection (useful for bindist, compatibility on other CPUs)</flag>
- </use>
- <upstream>
- <remote-id type="github">wbhart/mpir</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/sci-libs/mpir/mpir-3.0.0-r1.ebuild b/sci-libs/mpir/mpir-3.0.0-r1.ebuild
deleted file mode 100644
index 1c8e843d6950..000000000000
--- a/sci-libs/mpir/mpir-3.0.0-r1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools toolchain-funcs
-
-DESCRIPTION="Library for arbitrary precision integer arithmetic (fork of gmp)"
-HOMEPAGE="https://www.mpir.org/"
-SRC_URI="https://www.mpir.org/${P}.tar.bz2"
-
-LICENSE="LGPL-3"
-SLOT="0/23"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="+cxx cpudetection"
-
-BDEPEND="
- x86? ( dev-lang/yasm )
- amd64? ( dev-lang/yasm )
-"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-2.7.2-ABI-multilib.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.
- einfo "Patching assembler files to remove executable sections"
- local i
- for i in $(find . -type f -name '*.asm') ; do
- cat >> $i <<-EOF || die
-
- #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 || die
-
- %ifidn __OUTPUT_FORMAT__,elf
- section .note.GNU-stack noalloc noexec nowrite progbits
- %endif
- EOF
- done
-
- 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.
- local myeconfargs=(
- $(use_enable cxx)
- $(use_enable cpudetection fat)
- --disable-static
- )
- # https://bugs.gentoo.org/661430
- if ! use amd64 && ! use x86; then
- myeconfargs+=( --with-yasm="${BROOT}"/bin/false )
- fi
- econf "${myeconfargs[@]}"
-}
-
-src_install() {
- default
- find "${ED}" -name '*.la' -delete || die
-}