diff options
Diffstat (limited to 'dev-libs/libmpack')
-rw-r--r-- | dev-libs/libmpack/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libmpack/libmpack-1.0.5.ebuild | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/dev-libs/libmpack/Manifest b/dev-libs/libmpack/Manifest index 2bcb32e2180d..4b191d3175aa 100644 --- a/dev-libs/libmpack/Manifest +++ b/dev-libs/libmpack/Manifest @@ -1,3 +1,3 @@ DIST libmpack-1.0.5.tar.gz 32966 BLAKE2B 8ad01de11c740c3efc7b42046b89f7691dd32d228e126485bc49224e54789e7f12a611982c0fd9d2bbe8b06d1ce2df1ceea1b302e139e30d0a8c31f251129166 SHA512 6e30edafcacfb580b410bc6749ed7fe8f18b3be0cb98959339853e77bc3ec0cda6df08a0f1f22768cfc773458a2ea6bcef4f0421eea55cf56c58981d13711a04 -EBUILD libmpack-1.0.5.ebuild 1039 BLAKE2B 9c4b3eacc753b18de54292f9b8a05e85a114fb3cc9976c90e745bd803e7f529fcb8060ef444d1c9b471ebca0c2201504285e15f1a23715c1b9ccdc7f890f4667 SHA512 2f49f4ddb60495f365f05251b586f0d5f199757f27e0f6acc765259211dbfda8096b6ac38059357e1a64a9cc8d7cd10d8eb12c745f7476e45a5c5848b730b211 +EBUILD libmpack-1.0.5.ebuild 1297 BLAKE2B 11b67ac37a11fbd04cb0905c255f05870a8f78ef299b0dc7857b0db5f7c1771611b94d1f99a26e4a09b8621077e8c682f0cd327cbae313b1fef2f19be6ea368a SHA512 2617b83fc36e16c5344eda64cc0bb0ffcfb2e07fdc93b277228dfd12694a32af890ed6d2aaf66b7dac88dcb4ac81cd6e33eb6794da26d295767844605ea7d755 MISC metadata.xml 332 BLAKE2B 3e7c0cefba3436a86cd9372ce8688845a913eb01bb7b881aab9037ba97cf15a50bc0f908a70a3ed9a0043981132449bbfc8369d32243e5cca2362390714ba69b SHA512 4d22048dff22d80484cc344eb409e28c56eea3b7c1f8e43861be5560842aa165dd750126efdc059a50125232570fe08df5acf90d613cb7c1163ede670dd8568b diff --git a/dev-libs/libmpack/libmpack-1.0.5.ebuild b/dev-libs/libmpack/libmpack-1.0.5.ebuild index 4885407e7e55..6c07fbb2582f 100644 --- a/dev-libs/libmpack/libmpack-1.0.5.ebuild +++ b/dev-libs/libmpack/libmpack-1.0.5.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 x86" +KEYWORDS="amd64 ~arm ~arm64 x86 ~x64-macos" DEPEND="" RDEPEND="${DEPEND}" @@ -30,6 +30,7 @@ src_prepare() { src_compile() { local myemakeargs=( + "PREFIX=/usr" "CC=$(tc-getCC)" "config=release" "LIBDIR=/usr/$(get_libdir)" @@ -52,5 +53,10 @@ src_install() { emake "${myemakeargs[@]}" install + if [[ ${CHOST} == *-darwin* ]] ; then + local file="libmpack.0.0.0.dylib" + install_name_tool -id "${EPREFIX}/usr/$(get_libdir)/${file}" "${ED}/usr/$(get_libdir)/${file}" || die "Failed to adjust install_name" + fi + find "${ED}" -name '*.la' -delete || die } |