Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388791 - Please review Prefix changes for =x11-terms/eterm-0.9.5
Summary: Please review Prefix changes for =x11-terms/eterm-0.9.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: prefix-gx86
  Show dependency tree
 
Reported: 2011-10-28 16:18 UTC by Jeremy Olexa (darkside) (RETIRED)
Modified: 2012-08-23 04:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-10-28 16:18:11 UTC
--- 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.
Comment 1 SpanKY gentoo-dev 2011-10-28 23:35:29 UTC
i feel like utmp control isn't specific to eterm and so should be generalized a bit ...
Comment 2 Christoph Junghans (RETIRED) gentoo-dev 2012-08-22 15:53:14 UTC
Should we make utmp a USE flag and mask it on Darwin?
Comment 3 SpanKY gentoo-dev 2012-08-23 01:19:37 UTC
just do IUSE=+utempter
Comment 4 Christoph Junghans (RETIRED) gentoo-dev 2012-08-23 04:07:07 UTC
Added, thanks.