From 0deb8e65b6fcefd85a71e0ff90cd29e53409b577 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 3 Nov 2002 18:26:02 +0000 Subject: [PATCH] fix for #9446 --- app-emulation/zsnes/ChangeLog | 5 ++++- app-emulation/zsnes/zsnes-1.36.ebuild | 12 +++++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/app-emulation/zsnes/ChangeLog b/app-emulation/zsnes/ChangeLog index 2cac52417dff..7fcfb9fea72e 100644 --- a/app-emulation/zsnes/ChangeLog +++ b/app-emulation/zsnes/ChangeLog @@ -1,9 +1,12 @@ # ChangeLog for app-emulation/zsnes # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-emulation/zsnes/ChangeLog,v 1.11 2002/08/06 18:28:10 gerk Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/zsnes/ChangeLog,v 1.12 2002/11/03 18:26:02 vapier Exp $ *zsnes-1.36 (21 Jul 2002) + 03 Nov 2002; Mike Frysinger : + Added pkg_setup fix for #9446. + 06 Aug 2002; Mark Guertin : Added -ppc -sparc -sparc64 BACK to keywords, when bumping please please honor these KEYWORDS if they are set and read ChangeLog entries diff --git a/app-emulation/zsnes/zsnes-1.36.ebuild b/app-emulation/zsnes/zsnes-1.36.ebuild index 44ce32904434..76c6077754ff 100644 --- a/app-emulation/zsnes/zsnes-1.36.ebuild +++ b/app-emulation/zsnes/zsnes-1.36.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/zsnes/zsnes-1.36.ebuild,v 1.5 2002/10/17 01:18:52 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/zsnes/zsnes-1.36.ebuild,v 1.6 2002/11/03 18:26:02 vapier Exp $ # Don't attempt to introduce $CFLAGS usage, docs say result will be slower. @@ -23,14 +23,20 @@ RDEPEND="opengl? ( virtual/opengl ) DEPEND="${RDEPEND} >=dev-lang/nasm-0.98" +pkg_setup() { + # xfree should not install these, remove until the fixed + # xfree is in main use. + rm -f /usr/X11R6/include/{zconf.h,zlib.h} +} src_compile() { cd ${S}/src use opengl || myconf="--without-opengl" - ./configure --prefix=/usr --host=${CHOST} $myconf || die + econf $myconf make || die } -src_install () { + +src_install() { cd ${S}/src into /usr dobin zsnes -- 2.26.2