summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/quiche/quiche-9999.ebuild')
-rw-r--r--net-libs/quiche/quiche-9999.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/net-libs/quiche/quiche-9999.ebuild b/net-libs/quiche/quiche-9999.ebuild
index d2759feb7f7..e3b15c8690e 100644
--- a/net-libs/quiche/quiche-9999.ebuild
+++ b/net-libs/quiche/quiche-9999.ebuild
@@ -136,7 +136,7 @@ winapi-x86_64-pc-windows-gnu-0.4.0
ws2_32-sys-0.2.1
"
-inherit cargo cmake-utils flag-o-matic multilib-minimal rust-toolchain
+inherit cargo cmake flag-o-matic rust-toolchain multilib-minimal
DESCRIPTION="Implementation of the QUIC transport protocol and HTTP/3"
HOMEPAGE="https://github.com/cloudflare/quiche"
@@ -172,6 +172,7 @@ DEPEND=""
RDEPEND=""
CMAKE_USE_DIR="${S}/deps/boringssl"
+BUILD_DIR="${WORKDIR}/${P}"
src_unpack() {
if [[ "${PV}" == *9999* ]]; then
@@ -185,7 +186,7 @@ src_unpack() {
src_prepare() {
default
- cmake-utils_src_prepare
+ cmake_src_prepare
multilib_copy_sources
}
@@ -195,11 +196,11 @@ multilib_src_configure() {
-DOPENSSL_NO_ASM=ON
-DBUILD_SHARED_LIBS=OFF
)
- BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake-utils_src_configure
+ BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake_src_configure
}
multilib_src_compile() {
- BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake-utils_src_compile bssl
+ BUILD_DIR="${BUILD_DIR}/deps/boringssl/build" cmake_src_compile bssl
QUICHE_BSSL_PATH="${BUILD_DIR}/deps/boringssl" cargo_src_compile --features "ffi pkg-config-meta" --target="$(rust_abi)"
}
@@ -215,5 +216,4 @@ multilib_src_install() {
dolib.so "target/$(rust_abi)/release/libquiche.so"
QA_FLAGS_IGNORED+=" usr/$(get_libdir)/libquiche.so" # rust libraries don't use LDFLAGS
QA_SONAME+=" usr/$(get_libdir)/libquiche.so" # https://github.com/cloudflare/quiche/issues/165
-
}