From b61a41306a5531fda8abd2adcda75181653cbed7 Mon Sep 17 00:00:00 2001 From: Jeremi Piotrowski Date: Wed, 20 Oct 2021 12:21:39 +0000 Subject: [PATCH] dev-libs/mpfr: Sync with Gentoo upstream Sync ebuild to upstream version to switch to EAPI=7, as previous EAPIs cause issues with multilib deps when running ./build_toolchains in the context of arm64 SDK. Upstream commit e4adffda16496e86a61020e8569c6974f8018983 --- .../portage-stable/dev-libs/mpfr/Manifest | 12 +--- .../mpfr/files/mpfr-3.1.4-cygwin.patch | 39 ------------ .../portage-stable/dev-libs/mpfr/metadata.xml | 2 +- .../dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild | 50 --------------- .../dev-libs/mpfr/mpfr-3.1.3_p4.ebuild | 62 ------------------- .../dev-libs/mpfr/mpfr-3.1.4.ebuild | 55 ---------------- .../dev-libs/mpfr/mpfr-3.1.5_p2.ebuild | 55 ---------------- .../dev-libs/mpfr/mpfr-3.1.6.ebuild | 54 ---------------- .../dev-libs/mpfr/mpfr-4.0.0-r1.ebuild | 60 ------------------ .../dev-libs/mpfr/mpfr-4.0.1.ebuild | 60 ------------------ .../dev-libs/mpfr/mpfr-4.0.2.ebuild | 60 ------------------ .../dev-libs/mpfr/mpfr-4.1.0-r1.ebuild | 32 ++++++++++ 12 files changed, 34 insertions(+), 507 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/mpfr/files/mpfr-3.1.4-cygwin.patch delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-3.1.3_p4.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-3.1.4.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-3.1.5_p2.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-3.1.6.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-4.0.0-r1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-4.0.1.ebuild delete mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-4.0.2.ebuild create mode 100644 sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-4.1.0-r1.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/Manifest b/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/Manifest index cee8cb9e96..77f8d18385 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/Manifest @@ -1,11 +1 @@ -DIST mpfr-2.4.2-patchset.tar.bz2 2965 BLAKE2B 2748f8ebea766265ea1b31de1c0494e89e8868440675e4f8b03a771b220f3007ffa1bfdeb84112560d95107d4075ed6e37d54aa71546c8bc7e518ff32a1adce6 SHA512 d28749096ff1d8ab026eba076d7874fd0687dd5199dcadb60ab9a5adcfbe4c1a4583c83e5d4868e16e2218247f129623128af89d41e1c348c64c1e91bcb5e653 -DIST mpfr-2.4.2.tar.bz2 1077886 BLAKE2B bdbd8fcd5b3f459383fff60adb75e3e419b65b20073a86fbad83677fa546f8f2364bce799f623964cafe94b1b8652a13b54cdae8d9316350c24061c396cafa8b SHA512 c004b3dbf86c04960e4a1f8db37a409a7cc4cb76135e76e98dcc5ad93aaa8deb62334ee13ff84447a7c12a5e8cb57f25c62ac908c24920f1fb1a38d79d4a4c5e -DIST mpfr-3.1.3-patchset.tar.xz 12988 BLAKE2B b2ebf0f0d5b90f8f9618c71762ca3def64bad6c79e7b32ca0d9121d2ed4032b869b945359da79ba2eb2cca07789cc1ede1502bb998f5f1234b206825d2db6ebd SHA512 dd2de34aad0470920f75b8911701a2979205b3173b97c41d4b5cd9ff78a38633ca7d6993c2e5465b5e5f76066d46189a32437f5b79ac50c29f2a47970c0421ea -DIST mpfr-3.1.3.tar.xz 1112096 BLAKE2B cd7bc886e73ff43e323cde837bc90a41cf97238054e1ffe597455314f307ff7d8c95756b1414ee030a1f974c8041669b75dbf90581c9c5705e3f5c8a1878de46 SHA512 79846fd82974269aa48152c2b6dbcb2321130dc4d0f0ba2eb94d56619b177add9b2077ebf88b4382c56db19c4215910e5a252f216715c1eee40baa299da42eb4 -DIST mpfr-3.1.4.tar.xz 1122152 BLAKE2B d8d686c3280c062a0941c37cb0a0bacfb25a03a6064489b56db331ffbd9369c453ded1357b2c5841fc72eee2ef36c4d7a8acc27418dcf5f045c7e4ea6615d682 SHA512 4ef61708834efdea6b85258f46f1b25ce1c55b912f44b117d8c3d5e06d8f1177e50f627d9736f3289bd159c5bb10c80e09d1ad9f6f52c4ff43c3496034b04232 -DIST mpfr-3.1.5-patchset.tar.xz 1840 BLAKE2B c18392ecc3325c0b889b540257f3bfe3c382a7f0d12a5dc87550e9ee884f87480bcfec7541e05c6c27bcfd7c5fa60d35f575f56ccea59912434b241f51e5d113 SHA512 24ae807db036345267623dd977387b154e905197aa826e82cfc8dcf324ade78f78aef9e86ca6e2cbc091e01a8da9ea6c52a91a5183375d5fab45e54912bd3fd8 -DIST mpfr-3.1.5.tar.xz 1126668 BLAKE2B f902925036a4310e7b10461438bae5d5770b95ca6bd897038dc306d597ea412013c869b3d2f9c4ba2a1d5e59eee67f562fc3bf5db8fd1584b70c1b30574e42f5 SHA512 3643469b9099b31e41d6ec9158196cd1c30894030c8864ee5b1b1e91b488bccbf7c263c951b03fe9f4ae6f9d29279e157a7dfed0885467d875f107a3d964f032 -DIST mpfr-3.1.6.tar.xz 1133672 BLAKE2B ab8b87be9d29e9ae5807976f72d65e16cd3e5b4c2ffc4e5bd7829e664250b1969a1ec3928b3519cd75365692e23eadfd413a8116f8c77d6cd66183020b72b656 SHA512 746ee74d5026f267f74ab352d850ed30ff627d530aa840c71b24793e44875f8503946bd7399905dea2b2dd5744326254d7889337fe94cfe58d03c4066e9d8054 -DIST mpfr-4.0.0.tar.xz 1406244 BLAKE2B 2d1e356ac1f7119aa8896c438e7e30c4b316780d76fa2690e50482005e9ff5d6b5cd368d4c9a524df66ea3e7f2942c627329fa15be83402209c6e249cd1abd28 SHA512 9c9c4535f33fffd2126d1c290e5eeda7cd2804219244643f09c9a2d2acfa3d410d2cb1e4a7bb77cd86cffc2fac59c7f5d32c9910317cac37dbca474ab6d63808 -DIST mpfr-4.0.1.tar.xz 1412692 BLAKE2B 3e8d5cf558071571c21417088e74b8cb94a2e179667af41f734a68c7bd89d4beff245b9344c4c37d2f6558036a1a8c9ad3ea5ec8fbde16d2c7ebbf37a22cf424 SHA512 137ad68bc1e33a155edc1247fcdba27f999cf48ed526773136584090ddf2cfdfc9ea79fbf74ea1943b835b4b1ff29b05087114738c6ad3b485848540f30cac4f -DIST mpfr-4.0.2.tar.xz 1441996 BLAKE2B 4c1a15208c2dc3dcc1424974de506198e9cc479c70255149876c7f541133499ada5c89f07393b120b7079e6bbaf8ea03e5e496e1350b295e687392a6e0341c1c SHA512 d583555d08863bf36c89b289ae26bae353d9a31f08ee3894520992d2c26e5683c4c9c193d7ad139632f71c0a476d85ea76182702a98bf08dde7b6f65a54f8b88 +DIST mpfr-4.1.0.tar.xz 1525476 BLAKE2B 41d1be0c4b557760f12a4525ad3a84b6e2cd6f0927c935fcfba577ac0490e582d1ae4b581dce58e21e705cf9d7c88373054d7fb7a94bb32c69b339f99a25dc68 SHA512 1bd1c349741a6529dfa53af4f0da8d49254b164ece8a46928cdb13a99460285622d57fe6f68cef19c6727b3f9daa25ddb3d7d65c201c8f387e421c7f7bee6273 diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/files/mpfr-3.1.4-cygwin.patch b/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/files/mpfr-3.1.4-cygwin.patch deleted file mode 100644 index c051b4621b..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/files/mpfr-3.1.4-cygwin.patch +++ /dev/null @@ -1,39 +0,0 @@ -https://bugs.gentoo.org/579840 - -fix from upstream - -r10260 | vlefevre | 2016-04-08 19:17:07 -0400 (Fri, 08 Apr 2016) | 8 lines - -[src/mpfr-impl.h] Removed the detection of possible inconsistencies -under Unix because the tests could yield spurious errors with Cygwin -or other similar implementations. Moreover, such tests were used for -debugging purpose or to detect potential problems in the environment, -thus were not really useful for the end user. They were initially -added in the win-thread-safe-dll branch (r9682, following a problem -found in r9680). One alternative for checking by the MPFR developers -would be to output the status of some internal macros in tversion. - -Index: src/mpfr-impl.h -=================================================================== ---- src/mpfr-impl.h (revision 10259) -+++ src/mpfr-impl.h (revision 10260) -@@ -208,19 +208,6 @@ typedef struct __gmpfr_cache_s *mpfr_cac - # define MPFR_WIN_THREAD_SAFE_DLL 1 - #endif - --/* Detect some possible inconsistencies under Unix. */ --#if defined(__unix__) --# if defined(_WIN32) --# error "Both __unix__ and _WIN32 are defined" --# endif --# if __GMP_LIBGMP_DLL --# error "__unix__ is defined and __GMP_LIBGMP_DLL is true" --# endif --# if defined(MPFR_WIN_THREAD_SAFE_DLL) --# error "Both __unix__ and MPFR_WIN_THREAD_SAFE_DLL are defined" --# endif --#endif -- - #if defined(__MPFR_WITHIN_MPFR) || !defined(MPFR_WIN_THREAD_SAFE_DLL) - extern MPFR_THREAD_ATTR mpfr_flags_t __gmpfr_flags; - extern MPFR_THREAD_ATTR mpfr_exp_t __gmpfr_emin; diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/metadata.xml b/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/metadata.xml index e396f37559..5a1e1dee65 100644 --- a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/metadata.xml +++ b/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/metadata.xml @@ -1,5 +1,5 @@ - + toolchain@gentoo.org diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild deleted file mode 100644 index 7967195aea..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-2.4.2_p3-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# this ebuild is only for the libmpfr.so.1 ABI SONAME - -EAPI="5" - -inherit eutils libtool multilib multilib-minimal flag-o-matic - -MY_PV=${PV/_p*} -MY_P=${PN}-${MY_PV} -DESCRIPTION="library for multiple-precision floating-point computations with exact rounding" -HOMEPAGE="https://www.mpfr.org/" -SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.bz2 - https://dev.gentoo.org/~mgorny/dist/${MY_P}-patchset.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="1" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -RDEPEND=">=dev-libs/gmp-4.1.4-r2:0[${MULTILIB_USEDEP}]" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - epatch "${WORKDIR}"/${MY_P}-patchset/patch* - sed -i '/if test/s:==:=:' configure #261016 - find . -type f -exec touch -r configure {} + - elibtoolize -} - -multilib_src_configure() { - # Newer gmp has deleted this define, so export it for older mpfr. - append-cppflags -D__gmp_const=const - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19 - ECONF_SOURCE=${S} \ - user_redefine_cc=yes \ - econf --disable-static -} - -multilib_src_compile() { - emake libmpfr.la -} - -multilib_src_install() { - emake DESTDIR="${D}" install-libLTLIBRARIES - rm -f "${ED}"/usr/*/libmpfr.{la,so,dylib,a} -} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-3.1.3_p4.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-3.1.3_p4.ebuild deleted file mode 100644 index e19a31cc85..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-3.1.3_p4.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -# NOTE: we cannot depend on autotools here starting with gcc-4.3.x -inherit libtool multilib multilib-minimal preserve-libs - -MY_PV=${PV/_p*} -MY_P=${PN}-${MY_PV} -PLEVEL=${PV/*p} -DESCRIPTION="library for multiple-precision floating-point computations with exact rounding" -HOMEPAGE="https://www.mpfr.org/" -SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz - https://dev.gentoo.org/~mgorny/dist/${MY_P}-patchset.tar.xz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="static-libs" - -RDEPEND=">=dev-libs/gmp-4.1.4-r2[${MULTILIB_USEDEP},static-libs?]" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - if [[ ${PLEVEL} != ${PV} ]] ; then - local i - for (( i = 1; i <= PLEVEL; ++i )) ; do - epatch "${WORKDIR}"/${MY_P}-patchset/patch$(printf '%02d' ${i}) - done - fi - find . -type f -exec touch -r configure {} + - elibtoolize -} - -multilib_src_configure() { - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19 - ECONF_SOURCE=${S} \ - user_redefine_cc=yes \ - econf \ - --docdir="\$(datarootdir)/doc/${PF}" \ - $(use_enable static-libs static) -} - -multilib_src_install_all() { - use static-libs || find "${ED}"/usr -name '*.la' -delete - - # clean up html/license install - pushd "${ED}"/usr/share/doc/${PF} >/dev/null - dohtml *.html && rm COPYING* *.html || die - popd >/dev/null -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/libmpfr$(get_libname 1) -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/libmpfr$(get_libname 1) -} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-3.1.4.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-3.1.4.ebuild deleted file mode 100644 index f5a549273d..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-3.1.4.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="4" - -# NOTE: we cannot depend on autotools here starting with gcc-4.3.x -inherit eutils libtool multilib-minimal - -MY_PV=${PV/_p*} -MY_P=${PN}-${MY_PV} -PLEVEL=${PV/*p} -DESCRIPTION="library for multiple-precision floating-point computations with exact rounding" -HOMEPAGE="https://www.mpfr.org/" -SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="static-libs" - -RDEPEND=">=dev-libs/gmp-4.1.4-r2[${MULTILIB_USEDEP},static-libs?]" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - if [[ ${PLEVEL} != ${PV} ]] ; then - local i - for (( i = 1; i <= PLEVEL; ++i )) ; do - epatch "${FILESDIR}"/${MY_PV}/patch$(printf '%02d' ${i}) - done - fi - epatch "${FILESDIR}"/${P}-cygwin.patch #579840 - epatch_user - find . -type f -exec touch -r configure {} + - elibtoolize -} - -multilib_src_configure() { - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19 - ECONF_SOURCE=${S} \ - user_redefine_cc=yes \ - econf \ - --docdir="\$(datarootdir)/doc/${PF}" \ - $(use_enable static-libs static) -} - -multilib_src_install_all() { - use static-libs || find "${ED}"/usr -name '*.la' -delete - - # clean up html/license install - pushd "${ED}"/usr/share/doc/${PF} >/dev/null - dohtml *.html && rm COPYING* *.html || die - popd >/dev/null -} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-3.1.5_p2.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-3.1.5_p2.ebuild deleted file mode 100644 index bb73ce2d6a..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-3.1.5_p2.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -# NOTE: we cannot depend on autotools here starting with gcc-4.3.x -inherit eutils libtool multilib-minimal - -MY_PV=${PV/_p*} -MY_P=${PN}-${MY_PV} -PLEVEL=${PV/*p} -DESCRIPTION="library for multiple-precision floating-point computations with exact rounding" -HOMEPAGE="https://www.mpfr.org/" -SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz - https://dev.gentoo.org/~mgorny/dist/${MY_P}-patchset.tar.xz" - -LICENSE="LGPL-2.1" -SLOT="0/4" # libmpfr.so version -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="static-libs" - -RDEPEND=">=dev-libs/gmp-4.1.4-r2[${MULTILIB_USEDEP},static-libs?]" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - if [[ ${PLEVEL} != ${PV} ]] ; then - local i - for (( i = 1; i <= PLEVEL; ++i )) ; do - epatch "${WORKDIR}"/${MY_P}-patchset/patch$(printf '%02d' ${i}) - done - fi - epatch_user - find . -type f -exec touch -r configure {} + - elibtoolize -} - -multilib_src_configure() { - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19 - ECONF_SOURCE=${S} \ - user_redefine_cc=yes \ - econf \ - --docdir="\$(datarootdir)/doc/${PF}" \ - $(use_enable static-libs static) -} - -multilib_src_install_all() { - use static-libs || find "${ED}"/usr -name '*.la' -delete - - # clean up html/license install - pushd "${ED}"/usr/share/doc/${PF} >/dev/null || die - dohtml *.html && rm COPYING* *.html - popd >/dev/null || die -} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-3.1.6.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-3.1.6.ebuild deleted file mode 100644 index 54529fa86a..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-3.1.6.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -# NOTE: we cannot depend on autotools here starting with gcc-4.3.x -inherit eutils libtool multilib-minimal - -MY_PV=${PV/_p*} -MY_P=${PN}-${MY_PV} -PLEVEL=${PV/*p} -DESCRIPTION="library for multiple-precision floating-point computations with exact rounding" -HOMEPAGE="https://www.mpfr.org/" -SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz" - -LICENSE="LGPL-2.1" -SLOT="0/4" # libmpfr.so version -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="static-libs" - -RDEPEND=">=dev-libs/gmp-4.1.4-r2[${MULTILIB_USEDEP},static-libs?]" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -src_prepare() { - if [[ ${PLEVEL} != ${PV} ]] ; then - local i - for (( i = 1; i <= PLEVEL; ++i )) ; do - epatch "${FILESDIR}"/${MY_PV}/patch$(printf '%02d' ${i}) - done - fi - epatch_user - find . -type f -exec touch -r configure {} + - elibtoolize -} - -multilib_src_configure() { - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19 - ECONF_SOURCE=${S} \ - user_redefine_cc=yes \ - econf \ - --docdir="\$(datarootdir)/doc/${PF}" \ - $(use_enable static-libs static) -} - -multilib_src_install_all() { - use static-libs || find "${ED}"/usr -name '*.la' -delete - - # clean up html/license install - pushd "${ED}"/usr/share/doc/${PF} >/dev/null || die - dohtml *.html && rm COPYING* *.html - popd >/dev/null || die -} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-4.0.0-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-4.0.0-r1.ebuild deleted file mode 100644 index b15b4e64c7..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-4.0.0-r1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -# NOTE: we cannot depend on autotools here starting with gcc-4.3.x -inherit libtool multilib-minimal preserve-libs - -MY_PV=${PV/_p*} -MY_P=${PN}-${MY_PV} -PLEVEL=${PV/*p} -DESCRIPTION="library for multiple-precision floating-point computations with exact rounding" -HOMEPAGE="https://www.mpfr.org/" -SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz" - -LICENSE="LGPL-2.1" -SLOT="0/6" # libmpfr.so version -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="static-libs" - -RDEPEND=">=dev-libs/gmp-5.0.0[${MULTILIB_USEDEP},static-libs?]" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -HTML_DOCS=( doc/FAQ.html ) - -src_prepare() { - if [[ ${PLEVEL} != ${PV} ]] ; then - local i - for (( i = 1; i <= PLEVEL; ++i )) ; do - eapply "${FILESDIR}"/${MY_PV}/patch$(printf '%02d' ${i}) - done - fi - eapply_user - find . -type f -exec touch -r configure {} + - elibtoolize -} - -multilib_src_configure() { - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19 - ECONF_SOURCE=${S} \ - user_redefine_cc=yes \ - econf \ - --docdir="\$(datarootdir)/doc/${PF}" \ - $(use_enable static-libs static) -} - -multilib_src_install_all() { - rm "${ED}"/usr/share/doc/"${P}"/COPYING* - use static-libs || find "${ED}"/usr -name '*.la' -delete -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/libmpfr$(get_libname 4) -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/libmpfr$(get_libname 4) -} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-4.0.1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-4.0.1.ebuild deleted file mode 100644 index b15b4e64c7..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-4.0.1.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -# NOTE: we cannot depend on autotools here starting with gcc-4.3.x -inherit libtool multilib-minimal preserve-libs - -MY_PV=${PV/_p*} -MY_P=${PN}-${MY_PV} -PLEVEL=${PV/*p} -DESCRIPTION="library for multiple-precision floating-point computations with exact rounding" -HOMEPAGE="https://www.mpfr.org/" -SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz" - -LICENSE="LGPL-2.1" -SLOT="0/6" # libmpfr.so version -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="static-libs" - -RDEPEND=">=dev-libs/gmp-5.0.0[${MULTILIB_USEDEP},static-libs?]" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -HTML_DOCS=( doc/FAQ.html ) - -src_prepare() { - if [[ ${PLEVEL} != ${PV} ]] ; then - local i - for (( i = 1; i <= PLEVEL; ++i )) ; do - eapply "${FILESDIR}"/${MY_PV}/patch$(printf '%02d' ${i}) - done - fi - eapply_user - find . -type f -exec touch -r configure {} + - elibtoolize -} - -multilib_src_configure() { - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19 - ECONF_SOURCE=${S} \ - user_redefine_cc=yes \ - econf \ - --docdir="\$(datarootdir)/doc/${PF}" \ - $(use_enable static-libs static) -} - -multilib_src_install_all() { - rm "${ED}"/usr/share/doc/"${P}"/COPYING* - use static-libs || find "${ED}"/usr -name '*.la' -delete -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/libmpfr$(get_libname 4) -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/libmpfr$(get_libname 4) -} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-4.0.2.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-4.0.2.ebuild deleted file mode 100644 index 02d1920bfc..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-4.0.2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -# NOTE: we cannot depend on autotools here starting with gcc-4.3.x -inherit libtool multilib-minimal preserve-libs - -MY_PV=${PV/_p*} -MY_P=${PN}-${MY_PV} -PLEVEL=${PV/*p} -DESCRIPTION="library for multiple-precision floating-point computations with exact rounding" -HOMEPAGE="https://www.mpfr.org/" -SRC_URI="https://www.mpfr.org/mpfr-${MY_PV}/${MY_P}.tar.xz" - -LICENSE="LGPL-2.1" -SLOT="0/6" # libmpfr.so version -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="static-libs" - -RDEPEND=">=dev-libs/gmp-5.0.0[${MULTILIB_USEDEP},static-libs?]" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${MY_P} - -HTML_DOCS=( doc/FAQ.html ) - -src_prepare() { - if [[ ${PLEVEL} != ${PV} ]] ; then - local i - for (( i = 1; i <= PLEVEL; ++i )) ; do - eapply "${FILESDIR}"/${MY_PV}/patch$(printf '%02d' ${i}) - done - fi - eapply_user - find . -type f -exec touch -r configure {} + - elibtoolize -} - -multilib_src_configure() { - # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19 - ECONF_SOURCE=${S} \ - user_redefine_cc=yes \ - econf \ - --docdir="\$(datarootdir)/doc/${PF}" \ - $(use_enable static-libs static) -} - -multilib_src_install_all() { - rm "${ED}"/usr/share/doc/"${P}"/COPYING* - use static-libs || find "${ED}"/usr -name '*.la' -delete -} - -pkg_preinst() { - preserve_old_lib /usr/$(get_libdir)/libmpfr$(get_libname 4) -} - -pkg_postinst() { - preserve_old_lib_notify /usr/$(get_libdir)/libmpfr$(get_libname 4) -} diff --git a/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-4.1.0-r1.ebuild b/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-4.1.0-r1.ebuild new file mode 100644 index 0000000000..986919466d --- /dev/null +++ b/sdk_container/src/third_party/portage-stable/dev-libs/mpfr/mpfr-4.1.0-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib-minimal + +DESCRIPTION="Library for multiple-precision floating-point computations with exact rounding" +HOMEPAGE="https://www.mpfr.org/" +SRC_URI="https://www.mpfr.org/mpfr-${PV}/${P}.tar.xz" + +LICENSE="LGPL-2.1" +SLOT="0/6" # libmpfr.so version +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="static-libs" + +RDEPEND=">=dev-libs/gmp-5.0.0:=[${MULTILIB_USEDEP},static-libs?]" +DEPEND="${RDEPEND}" + +HTML_DOCS=( doc/FAQ.html ) + +multilib_src_configure() { + # Make sure mpfr doesn't go probing toolchains it shouldn't #476336#19 + ECONF_SOURCE=${S} \ + user_redefine_cc=yes \ + econf $(use_enable static-libs static) +} + +multilib_src_install_all() { + rm "${ED}"/usr/share/doc/"${P}"/COPYING* + use static-libs || find "${ED}"/usr -name '*.la' -delete +}