dev-libs/kpathsea: use relative links
authorMikle Kolyada <zlogene@gentoo.org>
Sun, 12 Apr 2020 23:31:53 +0000 (02:31 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Sun, 12 Apr 2020 23:34:00 +0000 (02:34 +0300)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
dev-libs/kpathsea/kpathsea-6.3.2_p20200406.ebuild

index 70543c7dfda5e2314f40f9cd2778f079e51c3215..dcbc8175045d7fe5c06fc98a55d3e74826a8ae15 100644 (file)
@@ -58,7 +58,7 @@ src_configure() {
 
 src_install() {
        emake DESTDIR="${D}" web2cdir="${EPREFIX}/usr/share/texmf-dist/web2c" install
-       find "${D}" -name '*.la' -delete
+       find "${D}" -name '*.la' -delete || die
 
        dodir /usr/share # just in case
        cp -pR "${WORKDIR}"/texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees"
@@ -86,8 +86,8 @@ src_install() {
        # by texmf-update
        rm -f "${ED}${TEXMF_PATH}/web2c/fmtutil.cnf"
 
-       dosym /etc/texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf
-       dosym /etc/texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf
+       dosym ../texmf/web2c/fmtutil.cnf ${TEXMF_PATH}/web2c/fmtutil.cnf
+       dosym ../texmf/web2c/texmf.cnf ${TEXMF_PATH}/web2c/texmf.cnf
 
        newsbin "${S}/texmf-update" texmf-update