commit: 922290d4950d8c2be8d43dc010ba0a1571207fd2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr> AuthorDate: Wed Nov 25 17:37:20 2020 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Wed Nov 25 17:37:20 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=922290d4
net-dns/https_dns_proxy: fix automagic gtest dep * Tests are not ready yet Closes: https://github.com/gentoo/gentoo/pull/18296 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr> Signed-off-by: David Seifert <soap <AT> gentoo.org> .../https_dns_proxy/https_dns_proxy-0_pre20200925.ebuild | 15 ++++++++++++--- net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild | 15 ++++++++++++--- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/net-dns/https_dns_proxy/https_dns_proxy-0_pre20200925.ebuild b/net-dns/https_dns_proxy/https_dns_proxy-0_pre20200925.ebuild index c7003379c00..d2ca352cd24 100644 --- a/net-dns/https_dns_proxy/https_dns_proxy-0_pre20200925.ebuild +++ b/net-dns/https_dns_proxy/https_dns_proxy-0_pre20200925.ebuild @@ -20,12 +20,21 @@ HOMEPAGE="https://github.com/aarond10/https_dns_proxy" LICENSE="MIT" SLOT="0" -DEPEND="dev-libs/libev +RDEPEND=" + dev-libs/libev net-dns/c-ares net-misc/curl[http2,ssl]" -RDEPEND="${DEPEND}" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_GTest=ON + -DCLANG_TIDY_EXE=OFF + ) + cmake_src_configure +} src_install() { cmake_src_install - dobin "${WORKDIR}/${P}_build/https_dns_proxy" + dobin "${BUILD_DIR}"/https_dns_proxy } diff --git a/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild b/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild index 3c26883fb12..d2ca352cd24 100644 --- a/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild +++ b/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild @@ -20,12 +20,21 @@ HOMEPAGE="https://github.com/aarond10/https_dns_proxy" LICENSE="MIT" SLOT="0" -DEPEND="dev-libs/libev +RDEPEND=" + dev-libs/libev net-dns/c-ares net-misc/curl[http2,ssl]" -RDEPEND="${DEPEND}" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_GTest=ON + -DCLANG_TIDY_EXE=OFF + ) + cmake_src_configure +} src_install() { cmake_src_install - dobin "${S}_build/https_dns_proxy" + dobin "${BUILD_DIR}"/https_dns_proxy }
