dev-vcs/subversion: fix build with >=dev-libs/libutf8proc-2.5.0

Closes: https://bugs.gentoo.org/721300
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2020-05-06 20:08:03 -04:00
parent e82c2c6131
commit 5c65a2dac4

View File

@@ -154,6 +154,9 @@ pkg_setup() {
}
src_prepare() {
# https://bugs.gentoo.org/721300
rm "${WORKDIR}"/patches/subversion-1.10.0_rc1-utf8proc_include.patch || die
eapply "${WORKDIR}/patches"
eapply_user
@@ -260,6 +263,10 @@ src_configure() {
export ac_cv_python_compile="$(tc-getCC)"
fi
# Remove when >=dev-libs/libutf8proc-2.5.0 is stable
# https://bugs.gentoo.org/721300
append-cppflags -I"${EPREFIX}"/usr/include/libutf8proc
# allow overriding Python include directory
ac_cv_path_RUBY=$(usex ruby "${EPREFIX}/usr/bin/ruby${RB_VER}" "none") \
ac_cv_path_RDOC=$(usex ruby "${EPREFIX}/usr/bin/rdoc${RB_VER}" "none") \