commit:     130a3fd136ef96dbbc9313b0817ae3af846e12ee
Author:     Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Sun Oct  2 12:04:35 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Oct  2 18:54:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=130a3fd1

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 <xgreenlandforwyy <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27574
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 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 4b3de22aa5d0..3c98bbb8b172 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 1b35f0d4ffe6..ca2f1fe67e94 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
 }

Reply via email to