app-text/texlive-core: fix detection of kpathsea by Michael Weiser, bug #556516
authorFabian Groffen <grobian@gentoo.org>
Mon, 10 Aug 2015 18:45:40 +0000 (20:45 +0200)
committerFabian Groffen <grobian@gentoo.org>
Mon, 10 Aug 2015 19:00:54 +0000 (21:00 +0200)
Package-Manager: portage-2.2.20-prefix

app-text/texlive-core/texlive-core-2015.ebuild

index 43894fc0e651e0b3f91daf3c9139464fe78737db..2fb0f87f45d82cceb8998cd6d2e430ba69523391 100644 (file)
@@ -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
 }