diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-30 19:43:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-30 19:43:03 +0100 |
commit | 162945d2a91899b637bbb9e163b406350de12906 (patch) | |
tree | 49cc2cc66f724a7c6f033f93aaba4ae3be1f2259 /dev-libs/gmp | |
parent | f660c6de84558324d784218831d8f0782ee41e2e (diff) |
gentoo resync : 30.10.2021
Diffstat (limited to 'dev-libs/gmp')
-rw-r--r-- | dev-libs/gmp/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/gmp/gmp-6.2.1-r1.ebuild | 23 |
2 files changed, 16 insertions, 11 deletions
diff --git a/dev-libs/gmp/Manifest b/dev-libs/gmp/Manifest index 73f351679695..d17a52e44f2a 100644 --- a/dev-libs/gmp/Manifest +++ b/dev-libs/gmp/Manifest @@ -2,6 +2,6 @@ AUX gmp-6.1.0-noexecstack-detect.patch 970 BLAKE2B 3b74021e37d5fd6b0b7baa6ad8298 AUX gmp-6.1.2-gcc-apple-4.0.1.patch 979 BLAKE2B 0fe8bf2db0e4633f5d230f02a0bbeb8f0a0dea5c5f2b79e0821733612dadcb0ae4c5815255640afe383e8424e2cf323c0ae33990ee2c21e963811ac434b466a1 SHA512 d1d9898c1978dcdc41dce95d2fc9e23f2ccb0615d02ca453045ece04e9bfd45aa9194774e1e3ea4efe7b40c8f2179233dbecbaa748e7c40d4f31f3adc78d878e AUX gmp-6.2.1-no-zarch.patch 623 BLAKE2B 4cdf9b780ca92f56eb3dd030a3614169b8cf4df94ec3b419d97c5488dd091c1847605b3525e1d90f07434b38cb82135b9a91d87785b79f0af828cbb09c54adde SHA512 6f071f6c44d3991a92f157545832238bcd2d7275321f7420aff0b4f88a95a66ba7cfd457d3c56040f8579a1be0b77ddedadc7dc4ce8a31c75266909fbb61c399 DIST gmp-6.2.1.tar.xz 2027316 BLAKE2B c0d85f175392a50cfa01bc6b0a312b235946ad8b4f6f84f6dabd33d7a6f2cc75c9b0e1e33057be07750bfa0145b7c4cf3b6188a5be6ca9d7271ec2276c84ebcb SHA512 c99be0950a1d05a0297d65641dd35b75b74466f7bf03c9e8a99895a3b2f9a0856cd17887738fa51cf7499781b65c049769271cbcb77d057d2e9f1ec52e07dd84 -DIST gmp-man-6.2.0.pdf 828998 BLAKE2B 0bf56bf0a6f1aac0e1fb9a5a37552f846a2d4a01bfd3f5b5c531d42a9afc48c19552e08971785805f59e3f2a5fd89e3f986f841dca2e340813596cfd76574e61 SHA512 25d129efedd329cd2d4535557c6912191f587bfd8ef028618b4ca6199ec7bf7a9ae862e7f5e5b5448c86888452a39fc7bf95cf9c18311858dd1aa9ae1c716239 -EBUILD gmp-6.2.1-r1.ebuild 3086 BLAKE2B 97ea974b0027cdd41930ab77bfdc6cf21a4ddcb3796675914963f0716c03ae0df96580c62e4e2ef0a40ab91339159beb461ae25d6c7930fc4281b0b3b2225c5e SHA512 810cbb7b830f84b1f7a0120bf69f8784d339fdce24e7934d5af17d9938344f78cdf86bcf78a4ec19fd9352193f9111bc59b04e1809a88d33c95d27cc10d42e70 +DIST gmp-man-6.2.1.pdf 827583 BLAKE2B 9aa25457a3c488e37cc7d54d825253ab749a3780919570579b319cf607001de50b212ca387b70213abcc5ab428b4525bdb9cd8ae932798a2d7928da98ce3f353 SHA512 f2d9d02e97975355ef490e921fedc94fb7687c3661eec8fa2e94a1622b6e59b17b3879eb3ec1f2df8edac100f727175144d107f4c49c602b773c43bc9e91dbcb +EBUILD gmp-6.2.1-r1.ebuild 3055 BLAKE2B bdf730b52a04c49b9fec9fc98766f12e081673358194aeb3452772663f954a21595682fee523bb4d776b1a8b5eed1dcb716f12cbb87c18b2642c6dda66f4a567 SHA512 414446ce82bdd928f8c559650264733a9081cdefbd5e0d4d8a5c231db8527850a5b2427e15ec905d3826903f88478867b27000e1abe959cb66d23f69983aa928 MISC metadata.xml 524 BLAKE2B 3a77f2e179805eef99b6f04b0f155bcde9d80504b83108fa98abd121a395b45ec37342a73d8f47bab993d2b73d91f8998196ff605fe5725ad3b506583b34628d SHA512 503d1d0f5248b7c7dd7f48121a68005a077035691e04f1e40aecd7124438f3eaf20454c712af867cf0c4257f3fc36c1b785c84a50aea61180336b4e4b1139b98 diff --git a/dev-libs/gmp/gmp-6.2.1-r1.ebuild b/dev-libs/gmp/gmp-6.2.1-r1.ebuild index 46b021bec16b..2b5f277c706b 100644 --- a/dev-libs/gmp/gmp-6.2.1-r1.ebuild +++ b/dev-libs/gmp/gmp-6.2.1-r1.ebuild @@ -7,8 +7,8 @@ inherit flag-o-matic libtool multilib-minimal toolchain-funcs MY_PV=${PV/_p*} MY_PV=${MY_PV/_/-} -MANUAL_PV=$MY_PV -MANUAL_PV=6.2.0 # 6.2.1 manual is not ready yet +MANUAL_PV=${MY_PV} +MANUAL_PV=6.2.1 MY_P=${PN}-${MY_PV} PLEVEL=${PV/*p} DESCRIPTION="Library for arbitrary-precision arithmetic on different type of numbers" @@ -40,10 +40,10 @@ PATCHES=( src_prepare() { default - # note: we cannot run autotools here as gcc depends on this package + # We cannot run autotools here as gcc depends on this package elibtoolize - # https://bugs.gentoo.org/536894 + # bug #536894 if [[ ${CHOST} == *-darwin* ]] ; then eapply "${FILESDIR}"/${PN}-6.1.2-gcc-apple-4.0.1.patch fi @@ -55,6 +55,7 @@ src_prepare() { #!/usr/bin/env sh exec env ABI="${GMPABI}" "$0.wrapped" "$@" EOF + # Patches to original configure might have lost the +x bit. chmod a+rx configure{,.wrapped} || die } @@ -74,14 +75,15 @@ multilib_src_configure() { esac export GMPABI - #367719 + # bug #367719 if [[ ${CHOST} == *-mint* ]]; then filter-flags -O? fi + tc-export CC + # --with-pic forces static libraries to be built as PIC # and without TEXTRELs. musl does not support TEXTRELs: bug #707332 - tc-export CC ECONF_SOURCE="${S}" econf \ CC_FOR_BUILD="$(tc-getBUILD_CC)" \ --localstatedir="${EPREFIX}"/var/state/gmp \ @@ -95,11 +97,14 @@ multilib_src_configure() { multilib_src_install() { emake DESTDIR="${D}" install - # should be a standalone lib + # Should be a standalone lib rm -f "${ED}"/usr/$(get_libdir)/libgmp.la - # this requires libgmp + + # This requires libgmp local la="${ED}/usr/$(get_libdir)/libgmpxx.la" - use static-libs || rm -f "${la}" + if ! use static-libs ; then + rm -f "${la}" + fi } multilib_src_install_all() { |