diff options
author | Sam James <sam@gentoo.org> | 2021-06-03 02:00:03 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-03 02:18:22 +0000 |
commit | 9d28275ad9ab730b71615854fa0f6707743b3b68 (patch) | |
tree | a69531efb113150f114f350f592ed17be0e540d0 /app-i18n | |
parent | net-wireless/uhd: fixes build with boost 1.76.0 (diff) | |
download | gentoo-9d28275ad9ab730b71615854fa0f6707743b3b68.tar.gz gentoo-9d28275ad9ab730b71615854fa0f6707743b3b68.tar.bz2 gentoo-9d28275ad9ab730b71615854fa0f6707743b3b68.zip |
app-i18n/librime: workaround dev-cpp/glog dependency on sparc
Not available on sparc (marked -sparc) so let's disable logging there.
Bug: https://bugs.gentoo.org/760803
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/librime/librime-1.7.3.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app-i18n/librime/librime-1.7.3.ebuild b/app-i18n/librime/librime-1.7.3.ebuild index 44310ba275b7..c42f5d509f4e 100644 --- a/app-i18n/librime/librime-1.7.3.ebuild +++ b/app-i18n/librime/librime-1.7.3.ebuild @@ -28,7 +28,7 @@ RESTRICT="!test? ( test )" BDEPEND="dev-libs/capnproto:0" RDEPEND="app-i18n/opencc:0= - >=dev-cpp/glog-0.3.5:0= + !sparc? ( >=dev-cpp/glog-0.3.5:0= ) dev-cpp/yaml-cpp:0= dev-libs/boost:0=[threads] dev-libs/capnproto:0= @@ -66,6 +66,8 @@ src_configure() { -DBUILD_TEST=$(usex test ON OFF) -DCMAKE_DISABLE_FIND_PACKAGE_Gflags=ON -DENABLE_EXTERNAL_PLUGINS=ON + # dev-cpp/glog is currently marked -sparc + -DENABLE_LOGGING=$(usex !sparc) -DINSTALL_PRIVATE_HEADERS=ON ) |