--- spectemu-0.99.3.ebuild.orig 2006-01-25 01:05:29.000000000 +0100 +++ spectemu-0.99.3.ebuild 2006-07-16 21:01:22.000000000 +0200 @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/spectemu/spectemu-0.99.3.ebuild,v 1.5 2006/01/24 23:55:49 vanquirius Exp $ +# $Header: $ ### Several versions of specemu exist, xspect & vgaspect, utilising X11 ### and/or svgalib. libreadline provides optional runtime features. @@ -16,8 +16,6 @@ KEYWORDS="~x86 ~ppc ~amd64" IUSE="X readline svga" -#X? ( virtual/x11 ) - DEPEND="X? ( || ( ( >=x11-proto/xf86vidmodeproto-2.2.2 >=x11-proto/xextproto-7.0.2 @@ -30,6 +28,15 @@ readline? ( sys-libs/readline )" RDEPEND="svga? ( media-libs/svgalib )" +QA_EXECSTACK="usr/bin/xspect" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e "s:(INSTALL_PROGRAM) -s:(INSTALL_PROGRAM):" \ + Makefile.in || die "sed failed in Makefile.in" +} + src_compile() { local myflags use X || myflags="${myflags} --with-x=no"