Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94310 - prboom 2.2.4-r1 fails to emerge with -opengl
Summary: prboom 2.2.4-r1 fails to emerge with -opengl
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-28 12:29 UTC by David Turner
Modified: 2005-05-28 14:28 UTC (History)
0 users

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


Attachments
Corrected ebuild for prboom 2.2.4 (prboom-2.2.4-r1.ebuild,1.68 KB, application/octet-stream)
2005-05-28 12:32 UTC, David Turner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Turner 2005-05-28 12:29:47 UTC
Same problem as Bugzilla Bug 28190 app-games/prboom-2.2.3 doesn't compile with
USE=-opengl

Test in ebuild to correct this has wrong polarity i.e.
should be "if ! use opengl; then", instead of "if use opengl; then"

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




This bug should also break building with opengl set as this will invoke the sed to 
remove the GL_DOOM define from the Makefile.

The ebuild provided for prboom-2.3.0 with bug 59826 corrects this problem with
use opengl || <... do sed magic > and should be IMHO added to the tree with mods
for 2.3.1
Comment 1 David Turner 2005-05-28 12:32:20 UTC
Created attachment 60031 [details]
Corrected ebuild for prboom 2.2.4

I have tried this and it works for me...
Comment 2 SpanKY gentoo-dev 2005-05-28 14:28:45 UTC
thanks david, fixed in cvs