diff options
Diffstat (limited to 'dev-lua/mpack')
-rw-r--r-- | dev-lua/mpack/Manifest | 2 | ||||
-rw-r--r-- | dev-lua/mpack/mpack-1.0.8-r100.ebuild | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest index ef8e541fb7dd..792836241237 100644 --- a/dev-lua/mpack/Manifest +++ b/dev-lua/mpack/Manifest @@ -1,3 +1,3 @@ DIST mpack-1.0.8.tar.gz 15616 BLAKE2B 06593296d1d36459127bf35eaeb37c894a0c0c6ccff0969cd0a82bee1920a715801db26f0ba0bc54a56399d07efc262666ee4ce79878288a5c0221fd27febea1 SHA512 6d21cc6bbdee583a1d808742991459e4b1796f347b2f4eaa747b576f5bb1ca989123339120e43246bac859c20e6f46ac57116ce9f135157256fecbd8cf817f75 -EBUILD mpack-1.0.8-r100.ebuild 1957 BLAKE2B 741fc5464fef699021edf5fc6011c4f3863caf9c17e08bb9b4c6af0f61c0400552649802c83676ffaad85158adc33c2a77db1e08bec50e129085214f539e9504 SHA512 15f1867d373394db55fd0ef4dd9b92ff3304246abd8be964dd08274c7d7c564d7ad38bfc6c2af5e426709e9229486de7564197ea029100bb60fbd5bca1b5baea +EBUILD mpack-1.0.8-r100.ebuild 2289 BLAKE2B 5744fcf8391d4ddfeb0120d58bff388dd20e8e3348987461c53628ad1ee3e7cfcfdba05a4cdc2a6acdacd374806dfcc9d1e6621c485656d40e64c70b7b0ba951 SHA512 69de8d444861ce0290d526dcc491a586c282db14c18b619fe2750b07eee6801237a93b7a2b8c1f0989680bab2fae0ac801e934dc1969407c33de88c2eab64414 MISC metadata.xml 336 BLAKE2B d2eb682d5c161942105aea7b4d1801cb98478b9c19876563ea921cf0cedaaf04a02cf756c8a5f595d52e710436e6f73e2dfe3acc10a4c9cd080415f4e1bb305a SHA512 a1ab89e3b9f01ff9112240a0a9ac945ed7391e98f5dfd4bd1ea518e0f228ae09109cd8f39fc29b36fe6ecc252dca7e0819693ce35be564421684de705dc8a4a1 diff --git a/dev-lua/mpack/mpack-1.0.8-r100.ebuild b/dev-lua/mpack/mpack-1.0.8-r100.ebuild index b573bd2b996b..f26a805ece17 100644 --- a/dev-lua/mpack/mpack-1.0.8-r100.ebuild +++ b/dev-lua/mpack/mpack-1.0.8-r100.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_PN}-${PV}" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x64-macos" IUSE="test" REQUIRED_USE="${LUA_REQUIRED_USE}" RESTRICT="!test? ( test )" @@ -96,6 +96,14 @@ lua_src_install() { emake "${myemakeargs[@]}" install popd + + if [[ ${CHOST} == *-darwin* ]] ; then + local luav=$(lua_get_version) + # we only want the major version (e.g. 5.1) + local luamv=${luav:0:3} + local file="lua/${luamv}/mpack.so" + install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${file}" "${ED}/usr/$(get_libdir)/${file}" || die "Failed to adjust install_name" + fi } src_install() { |