--- luatex-0.70.1.ebuild.orig 2012-07-23 20:48:41.000000000 -0600 +++ luatex-0.70.1.ebuild 2012-07-23 20:49:27.000000000 -0600 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-tex/luatex/luatex-0.70.1.ebuild,v 1.13 2012/07/09 13:15:20 aballier Exp $ -EAPI="2" +EAPI=4 inherit libtool eutils @@ -13,7 +13,7 @@ LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="doc" RDEPEND="dev-libs/zziplib @@ -43,7 +43,6 @@ local myconf myconf="" - #has_version '>=app-text/texlive-core-2009' && myconf="--with-system-kpathsea" cd "${S}/texk/web2c" econf \ @@ -61,6 +60,7 @@ --without-mf-x-toolkit \ --without-x \ --with-system-kpathsea \ + --with-kpathsea-includes="${EPREFIX}"/usr/include \ --with-system-gd \ --with-system-libpng \ --with-system-teckit \ @@ -105,15 +105,9 @@ } pkg_postinst() { - if ! has_version '>=dev-texlive/texlive-basic-2008' ; then - elog "Please note that this package does not install much files, mainly the" - elog "${PN} executable that will need other files in order to be useful.." - elog "Please consider installing a recent TeX distribution" - elog "like TeX Live 2008 to get the full power of ${PN}" - fi - if [ "$ROOT" = "/" ] && [ -x /usr/bin/fmtutil-sys ] ; then + if [[ ${ROOT} = / && -x ${EPREFIX}/usr/bin/fmtutil-sys ]] ; then einfo "Rebuilding formats" - /usr/bin/fmtutil-sys --all &> /dev/null + "${EPREFIX}"/usr/bin/fmtutil-sys --all &> /dev/null else ewarn "Cannot run fmtutil-sys for some reason." ewarn "Your formats might be inconsistent with your installed ${PN} version"