Hi, Please find attached a new ebuild for the latest stable bzflag release (2.0.4). The ebuild is a copy of the 2.0.2 version with some minor changes. This is tested on amd64 only and works. Bzflag is an OpenGL accelerated 3d tank combat simulator game and sits in portage under games-action/bzflag Rgds. Steven
Created attachment 69637 [details] New ebuild for bzflag 2.0.4 bzflag-2.0.4.20050930.ebuild
adns is not more used in bzflag. Bzflag uses c-ares instead. If c-ares is not available from the system, it uses is internal version. bzflag uses curl too, and it is hardly recommended to enable the ares use flag while building curl. Unfortunately curl is not build with c-ares on amd64. See Bug 103539
(In reply to comment #2) > adns is not more used in bzflag. > Bzflag uses c-ares instead. If c-ares is not available from the system, it uses > is internal version. > bzflag uses curl too, and it is hardly recommended to enable the ares use flag > while building curl. Unfortunately curl is not build with c-ares on amd64. See > Bug 103539 Thanks for the info. I adjusted the ebuild so it uses c-ares instead of adns. De curl version needed must be >=net-misc/curl-7.14.0. Ofcourse your patch in Bug 103539 should be applied first. Alfredo, can you check the new ebuild and correct possible mistakes in it ? Thanks in advance. Steven
Created attachment 69756 [details] bzflag-2.0.4.20050930.ebuild corrected ebuild
I wonder why you put that: GAMES_USE_SDL="nojoystick" When I introduced SDL in bzflag, I firstly did for supporting my joystick :) So, if that is asking for build SDL without joystick support, that is bad. But surely I could have misunderstood that statement.
(In reply to comment #5) > I wonder why you put that: > > GAMES_USE_SDL="nojoystick" > > When I introduced SDL in bzflag, I firstly did for supporting my joystick :) > > So, if that is asking for build SDL without joystick support, that is bad. But > surely I could have misunderstood that statement. This was already set in the 2.0.2 ebuild. I think it got something to do with Bug 103377. Luckly i am a mouse player. ;) Thanks for the feedback! Rgds. Steven.
I also looked in the games eclass. The statement ensures that bzflag is build against a libsdl with joystick support. If the nojoystick use flag is set bzflag wont compile . If i read that correctly ofcourse ... <snip games.eclass> # Make sure SDL was built in a certain way if [[ -n ${GAMES_USE_SDL} ]] ; then if built_with_use -o media-libs/libsdl ${GAMES_USE_SDL} ; then eerror "You built libsdl with wrong USE flags." eerror "Make sure you rebuild it like this:" eerror "USE='-${GAMES_USE_SDL// / -}'" die "your libsdl sucks" fi fi <snip ..> Rgds. Steven
I forget one things: curl is mandatory, so it should not be an option, it should be required
(In reply to comment #8) > I forget one things: curl is mandatory, so it should not be an option, it should > be required Ok. I changed the ebuild so curl is mandatory and must be greater or equal then curl-7.15.0. I tested it with curl-7.14.0 (and patch in 103539 applied) and it works fine. thanks for info. rgds.
Created attachment 70720 [details] bzflag-2.0.4.20050930.ebuild made curl mandatory
The ebuild works for me. Thanks.
This ebuild (bzflag-2.0.4.20040930) doesn't work properly when you are trying to build a dedicated server (via the dedicated USE flag) on a X-less box. The emerge dies with the warning about libsdl and the -nojoystick flag. The system I was installing this on was my server and did not have libsdl or X installed. Removing the GAMES_USE_SDL="nojoystick" and regenerating the digest "fixed" it for me. Basically we should verify that SDL is ok only if we aren't building a dedicated server. Thanks, BG
Should be working for everyone now. Open new bugs for any problems.