--- eterm-0.9.5.ebuild.orig 2009-08-16 15:21:57.000000000 -0500 +++ eterm-0.9.5.ebuild 2011-10-28 11:15:40.870540000 -0500 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-terms/eterm/eterm-0.9.5.ebuild,v 1.13 2009/08/16 20:21:57 nerdboy Exp $ -EAPI="2" +EAPI="3" inherit eutils autotools MY_P=Eterm-${PV} @@ -17,7 +17,7 @@ !minimal? ( http://www.eterm.org/download/Eterm-bg-${PV}.tar.gz ) mirror://sourceforge/eterm/${MY_P}.tar.gz !minimal? ( mirror://sourceforge/eterm/Eterm-bg-${PV}.tar.gz )" - KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd" + KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~ppc-macos ~x86-macos" fi DESCRIPTION="A vt102 terminal emulator for X" @@ -59,6 +59,8 @@ } src_configure() { + local myconf= + [[ ${CHOST} == *-darwin* ]] && myconf="--disable-utmp" export TIC="true" econf \ $(use_enable escreen) \ @@ -68,7 +70,8 @@ $(use_enable sse2) \ $(use_enable unicode multi-charset) \ --with-delete=execute \ - --with-backspace=auto + --with-backspace=auto \ + ${myconf} } src_install() { I suggest a commit withOUT a revbump.
i feel like utmp control isn't specific to eterm and so should be generalized a bit ...
Should we make utmp a USE flag and mask it on Darwin?
just do IUSE=+utempter
Added, thanks.