diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-31 18:57:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-31 18:57:01 +0000 |
commit | 69051588e2f955485fe5d45d45e616bc60a2de57 (patch) | |
tree | ef8699cca7ce3773b1de747b167ceeacdc60cb92 /dev-libs/libtommath | |
parent | d7ed2b01311f15ba54fe8ea872aab7d59ab2b193 (diff) |
gentoo resync : 31.01.2021
Diffstat (limited to 'dev-libs/libtommath')
-rw-r--r-- | dev-libs/libtommath/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libtommath/libtommath-1.2.0.ebuild | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/dev-libs/libtommath/Manifest b/dev-libs/libtommath/Manifest index 38e12dff30b5..a672555e1fce 100644 --- a/dev-libs/libtommath/Manifest +++ b/dev-libs/libtommath/Manifest @@ -1,3 +1,3 @@ DIST ltm-1.2.0.tar.xz 622120 BLAKE2B 1537dad7da5c14264f03280e9d49fa0b7e6c1c4924c805f202d31c60569b9e3bee40674301d67b0f5b049c1c2dc5ec71b6c566ff5c9b8168d16840b031acc400 SHA512 6f9ccd0691831f07f86ddc81cb6145504b3d5da66dd3e92312c64cce0ea986fa4e08ba65ca8991aaebe56702c2d7c15f309696785b813dffb4c112a4ad04b203 -EBUILD libtommath-1.2.0.ebuild 1614 BLAKE2B e0ba3db819c99b5a0cb67cf1b2c0c044bf221da8d0a8e319c50fbe2eec6a004d3f36de65c6e2357074ba03993e34315530b2ae40a9228c508ce177807d0c1c92 SHA512 5b921cf6b4efcc457d3a1f24c9240e9988fd98883380737e1bb2e204b6e65ef9c94a068f3735ed1c2e4277e05020545300073fa7174e3599409129f7806ea34b +EBUILD libtommath-1.2.0.ebuild 1825 BLAKE2B f5f3e9dc4a17a6754a306249be3d5e1f3274148a1d3402c0a47626e81a25f5071eef4a83e07d2a52963b1e941adfd1417db3c7a747657783b3eae5f31e5d0fa9 SHA512 213593bee4aa79af25e9eec6a77131d7d7c2c8aeddd469bccb0ca2aa5f67bdff630921af38829b000a9c5670a6a89d9c695af962182dc7e2a97ce0d8f44a1c48 MISC metadata.xml 3301 BLAKE2B c9999812b8504393673c8890cfcca6436eead1a2ce16d67000f2f0d2ebed6c993e654c720205ffc205ec248a9df1ef38c3a6c7389157fcef28eb407de94239ce SHA512 8f4beb6e7745581094557241bf74a7fd90d32e0091a6da59647887127daf99ec3dab6987811fac2863914504989549dd8d3bc79d88af7f1008c18e3eb9a5e03f diff --git a/dev-libs/libtommath/libtommath-1.2.0.ebuild b/dev-libs/libtommath/libtommath-1.2.0.ebuild index 78def9854c3f..c72f2d4668d5 100644 --- a/dev-libs/libtommath/libtommath-1.2.0.ebuild +++ b/dev-libs/libtommath/libtommath-1.2.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/libtom/libtommath/releases/download/v${PV}/ltm-${PV} LICENSE="Unlicense" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" IUSE="doc examples static-libs" BDEPEND="sys-devel/libtool" @@ -65,6 +65,11 @@ src_test() { src_install() { _emake -f makefile.shared install + if [[ ${CHOST} == *-darwin* ]] ; then + local path="usr/$(get_libdir)/libtommath.${PV}.dylib" + install_name_tool -id "${EPREFIX}/${path}" "${ED}/${path}" || die "Failed to adjust install_name" + fi + # We only link against -lc, so drop the .la file. find "${ED}" -name '*.la' -delete || die if ! use static-libs ; then |