--- a/kpathsea/files/kpathsea-6.2.1_p20150521-c-auto.patch 1970-01-01 01:00:00.000000000 +0100 +++ a/kpathsea/files/kpathsea-6.2.1_p20150521-c-auto.patch 2015-09-19 18:18:22.000000000 +0200 @@ -0,0 +1,28 @@ +diff -urN a/texk/kpathsea/Makefile.am b/texk/kpathsea/Makefile.am +--- a/texk/kpathsea/Makefile.am 2015-03-16 08:52:01.000000000 +0100 @@ -4,7 +4,7 @@ EAPI=5 -inherit texlive-common eutils libtool prefix +inherit texlive-common autotools eutils libtool prefix TEXMFD_VERSION="7" @@ -45,6 +45,8 @@ S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd cp "${FILESDIR}/texmf-update-r1" "${S}"/texmf-update eprefixify "${S}"/texmf-update + epatch "${FILESDIR}"/${P}-c-auto.patch + ( cd texk/kpathsea; eautoreconf; ) } src_configure() { @@ -63,6 +65,7 @@ src_install() { emake DESTDIR="${D}" web2cdir="${EPREFIX}/usr/share/texmf-dist/web2c" install find "${D}" -name '*.la' -delete + rmdir "${D}/usr/$(get_libdir)/kpathsea" dodir /usr/share # just in case cp -pR "${WORKDIR}"/texmf-dist "${ED}/usr/share/" || die "failed to install texmf trees"