From 130a3fd136ef96dbbc9313b0817ae3af846e12ee Mon Sep 17 00:00:00 2001 From: Yiyang Wu Date: Sun, 2 Oct 2022 20:04:35 +0800 Subject: [PATCH] dev-python/ujson: Find the DC include dir in prefix ujson fails to build in Gentoo prefix because the specified UJSON_BUILD_DC_INCLUDES does not contain ${EPREFIX} Signed-off-by: Yiyang Wu Closes: https://github.com/gentoo/gentoo/pull/27574 Signed-off-by: Arthur Zamarin --- dev-python/ujson/ujson-5.4.0.ebuild | 2 +- dev-python/ujson/ujson-5.5.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/ujson/ujson-5.4.0.ebuild b/dev-python/ujson/ujson-5.4.0.ebuild index 4b3de22aa5d0d..3c98bbb8b1726 100644 --- a/dev-python/ujson/ujson-5.4.0.ebuild +++ b/dev-python/ujson/ujson-5.4.0.ebuild @@ -35,7 +35,7 @@ BDEPEND=" distutils_enable_tests pytest src_configure() { - export UJSON_BUILD_DC_INCLUDES="/usr/include/double-conversion" + export UJSON_BUILD_DC_INCLUDES="${EPREFIX}/usr/include/double-conversion" export UJSON_BUILD_DC_LIBS="-ldouble-conversion" export UJSON_BUILD_NO_STRIP=1 } diff --git a/dev-python/ujson/ujson-5.5.0.ebuild b/dev-python/ujson/ujson-5.5.0.ebuild index 1b35f0d4ffe61..ca2f1fe67e949 100644 --- a/dev-python/ujson/ujson-5.5.0.ebuild +++ b/dev-python/ujson/ujson-5.5.0.ebuild @@ -35,7 +35,7 @@ BDEPEND=" distutils_enable_tests pytest src_configure() { - export UJSON_BUILD_DC_INCLUDES="/usr/include/double-conversion" + export UJSON_BUILD_DC_INCLUDES="${EPREFIX}/usr/include/double-conversion" export UJSON_BUILD_DC_LIBS="-ldouble-conversion" export UJSON_BUILD_NO_STRIP=1 }