diff options
author | Yiyang Wu <xgreenlandforwyy@gmail.com> | 2022-10-02 20:04:35 +0800 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-10-02 21:54:21 +0300 |
commit | 130a3fd136ef96dbbc9313b0817ae3af846e12ee (patch) | |
tree | 164b9f66c3b33fd16bc1d5a633691f86aedc8597 /dev-python/ujson | |
parent | dev-python/importlib_metadata: add 4.13.0 (diff) | |
download | gentoo-130a3fd136ef96dbbc9313b0817ae3af846e12ee.tar.gz gentoo-130a3fd136ef96dbbc9313b0817ae3af846e12ee.tar.bz2 gentoo-130a3fd136ef96dbbc9313b0817ae3af846e12ee.zip |
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>
Diffstat (limited to 'dev-python/ujson')
-rw-r--r-- | dev-python/ujson/ujson-5.4.0.ebuild | 2 | ||||
-rw-r--r-- | 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 } |