sys-fs/dwarfs: fixed bug with installation of libraries

Fixed a bug where libraries are not properly installed
Fixed a conflict with dev-cpp/folly (the package use
bundled ones)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Denis Reva <denis7774@gmail.com>
This commit is contained in:
Denis Reva
2020-12-10 12:51:56 +05:00
parent 8935ad9204
commit 9af6285637

View File

@@ -36,7 +36,8 @@ RDEPEND="dev-libs/boost[context,threads]
sys-fs/fuse:3
sys-libs/binutils-libs
sys-libs/zlib
sys-libs/libunwind"
sys-libs/libunwind
!dev-cpp/folly"
BDEPEND="app-text/ronn
dev-util/cmake
sys-apps/sed
@@ -47,6 +48,8 @@ CHECKREQS_DISK_BUILD="512M"
DOCS=( "README.md" "CHANGES.md" "TODO" )
CMAKE_IN_SOURCE_BUILD=true
src_unpack(){
default
rm -d "${S}"/fbthrift/
@@ -69,6 +72,12 @@ src_prepare(){
cmake_src_prepare
}
src_install(){
default
dolib.so libmetadata_thrift.so libthrift_light.so
dolib.so folly/libfolly.so.0.58.0-dev folly/libfolly.so
}
pkg_postinst(){
elog "Test shows that dwarfs compiled with Clang is substantially faster than GCC ones"
elog "See https://github.com/mhx/dwarfs/issues/14"