Add support for USE=dga. Also remove forced linking with X libs (let configure scrip...
authorMike Frysinger <vapier@gentoo.org>
Tue, 4 Jan 2005 23:43:35 +0000 (23:43 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 4 Jan 2005 23:43:35 +0000 (23:43 +0000)
games-emulation/snes9x/ChangeLog
games-emulation/snes9x/snes9x-1.43.ebuild

index 502794934d144a4b823d5d61b9d03a9efc9ff99c..9aa9e9eb6dc3978afce0983339ae2eec28113266 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for games-emulation/snes9x
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/ChangeLog,v 1.14 2005/01/03 06:48:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/ChangeLog,v 1.15 2005/01/04 23:43:35 vapier Exp $
+
+  04 Jan 2005; Mike Frysinger <vapier@gentoo.org> snes9x-1.43.ebuild:
+  Add support for USE=dga. Also remove forced linking with X libs (let
+  configure script do it) #76538.
 
 *snes9x-1.43 (03 Jan 2005)
 
index afa8064708b40e2005d2305e143669f6813bfe67..61d92061b903f26f96aa9b49caa36d82f243fd5b 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-1.43.ebuild,v 1.1 2005/01/03 06:48:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-1.43.ebuild,v 1.2 2005/01/04 23:43:35 vapier Exp $
 
 inherit eutils games
 
@@ -11,7 +11,7 @@ SRC_URI="http://www.lysator.liu.se/snes9x/${PV}/snes9x-${PV}-src.tar.gz"
 LICENSE="as-is"
 SLOT="0"
 KEYWORDS="amd64 ppc x86"
-IUSE="3dfx opengl X joystick zlib"
+IUSE="3dfx opengl X joystick zlib dga"
 
 RDEPEND="zlib? ( sys-libs/zlib )
        virtual/x11
@@ -29,7 +29,10 @@ src_unpack() {
        cd "${S}"/snes9x
        epatch "${FILESDIR}"/nojoy.patch
        sed -i 's:png_jmpbuf:png_write_info:g' configure
-       sed -i 's:@OPTIMIZE@:@CFLAGS@:' Makefile.in
+       sed -i \
+               -e 's:@OPTIMIZE@:@CFLAGS@:' \
+               -e 's:-lXext -lX11::' \
+               Makefile.in
 }
 
 src_compile() {
@@ -60,6 +63,7 @@ src_compile() {
                        $(use_with debug debugger) \
                        $(use_with zlib) \
                        --with-screenshot \
+                       $(use_with dga extensions) \
                        || die
                # Makefile doesnt quite support parallel builds
                emake -j1 offsets || die "making offsets"