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@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/27574
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Yiyang Wu
2022-10-02 20:04:35 +08:00
committed by Arthur Zamarin
parent 38f8b891a0
commit 130a3fd136
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}

View File

@@ -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
}