From: Fabian Groffen Date: Mon, 10 Aug 2015 18:45:40 +0000 (+0200) Subject: app-text/texlive-core: fix detection of kpathsea by Michael Weiser, bug #556516 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c6e5be6f731d39876e57ec19ff4c3ac6a7a13a07;p=gentoo.git app-text/texlive-core: fix detection of kpathsea by Michael Weiser, bug #556516 Package-Manager: portage-2.2.20-prefix --- diff --git a/app-text/texlive-core/texlive-core-2015.ebuild b/app-text/texlive-core/texlive-core-2015.ebuild index 43894fc0e651..2fb0f87f45d8 100644 --- a/app-text/texlive-core/texlive-core-2015.ebuild +++ b/app-text/texlive-core/texlive-core-2015.ebuild @@ -157,6 +157,10 @@ src_prepare() { #EPATCH_MULTI_MSG="Applying patches from upstream bugfix branch..." EPATCH_SUFFIX="patch" epatch "${WORKDIR}/gentoo_branch2011_patches" EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches" + sed -i \ + -e "s,/usr/include /usr/local/include.*echo \$KPATHSEA_INCLUDES.*,${EPREFIX}/usr/include\"," \ + texk/web2c/configure || die + elibtoolize }