diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-09-15 15:48:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-09-15 15:48:41 +0000 |
commit | b5e479f9124eb38f429d659c33e9ff9844549937 (patch) | |
tree | 34ba097f6d96d8ab6c2466366ce7db2d88370a8a /games-fps/prboom | |
parent | fixing Manifest (diff) | |
download | gentoo-2-b5e479f9124eb38f429d659c33e9ff9844549937.tar.gz gentoo-2-b5e479f9124eb38f429d659c33e9ff9844549937.tar.bz2 gentoo-2-b5e479f9124eb38f429d659c33e9ff9844549937.zip |
fix lack of opengl support #28190
Diffstat (limited to 'games-fps/prboom')
-rw-r--r-- | games-fps/prboom/prboom-2.2.3.ebuild | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/games-fps/prboom/prboom-2.2.3.ebuild b/games-fps/prboom/prboom-2.2.3.ebuild index 9bfb98615ac9..8ec52b5f92d1 100644 --- a/games-fps/prboom/prboom-2.2.3.ebuild +++ b/games-fps/prboom/prboom-2.2.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/prboom/prboom-2.2.3.ebuild,v 1.1 2003/09/09 18:10:14 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/prboom/prboom-2.2.3.ebuild,v 1.2 2003/09/15 15:48:41 vapier Exp $ inherit games eutils @@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/prboom/${P}.tar.gz LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" -IUSE="opengl" +IUSE="opengl debug" DEPEND="virtual/x11 >=media-libs/libsdl-1.1.3 @@ -31,7 +31,16 @@ src_unpack() { } src_compile() { - egamesconf `use_enable opengl gl` || die + # leave --disable-cpu-opt in otherwise the configure script + # will append -march=i686 and crap ... let the user's CFLAGS + # handle this ... + egamesconf \ + `use_enable opengl gl` \ + `use_enable x86 i386-asm` \ + --disable-cpu-opt \ + || die + # configure script doesnt do opengl properly + [ `use opengl` ] || sed -i '/GL_DOOM/s:.*::' config.h emake || die } |