--- mrxvt-0.5.4.ebuild.orig 2012-07-29 16:51:20.000000000 -0600 +++ mrxvt-0.5.4.ebuild 2012-07-29 16:49:32.000000000 -0600 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-terms/mrxvt/mrxvt-0.5.4.ebuild,v 1.8 2010/11/08 12:35:28 nelchael Exp $ -EAPI=2 +EAPI=4 inherit autotools eutils DESCRIPTION="Multi-tabbed rxvt clone with XFT, transparent background and CJK support" @@ -11,7 +11,7 @@ LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 ~mips ppc x86" +KEYWORDS="alpha amd64 ~mips ppc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos" LINGUAS_IUSE="linguas_el linguas_ja linguas_ko linguas_th linguas_zh_CN linguas_zh_TW" IUSE="debug png jpeg session truetype menubar utempter xpm ${LINGUAS_IUSE}" @@ -62,6 +62,13 @@ myconf="${myconf} --enable-big5 --with-encoding=big5" fi + [[ ${CHOST} == *-interix* ]] && { + myconf="${myconf} --disable-wtmp" + myconf="${myconf} --disable-lastlog" + + export ac_cv_header_wchar_h=no + } + # 2006-03-13 gi1242: mrxvt works best with TERM=rxvt AND correctly set # termcap / terminfo entries. If the rxvt termcap / terminfo entries are # messed up then then it's better to set TERM=xterm. @@ -88,7 +95,7 @@ } src_install() { - emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install || die + emake DESTDIR="${D}" docdir="${EPREFIX}"/usr/share/doc/${PF} install # Give mrxvt perms to update utmp fowners root:utmp /usr/bin/mrxvt fperms g+s /usr/bin/mrxvt