Summary: | ebuilds for xine-lib do not support building a debug build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Maximilian Schwerin <maximilian.schwerin> |
Component: | New packages | Assignee: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patch for xine-lib-1.0.1-r4.ebuild
patch (v2) for xine-lib-1.0.1-r4.ebuild |
Description
Maximilian Schwerin
2005-11-19 03:21:55 UTC
Created attachment 73172 [details, diff]
patch for xine-lib-1.0.1-r4.ebuild
Created attachment 73175 [details, diff]
patch (v2) for xine-lib-1.0.1-r4.ebuild
Sorry, I was a bit quick sending the first patch.
Are you sure it really does something? I think the only thing it could do is to add -g flags to CFLAGS/CXXFLAGS, but that's something you can do without having to change the ebuild on the user side... Running make debug substitutes DEBUG_CFLAGS for CFLAGS. DEBUG_CFLAGS are defined as "-g -DDEBUG $CFLAGS" so it would be enough to add "-g -DDEBUG". But as far as I understood this, the idea of having a debug useflag is to allow just what I attached in my patch. Correct me if I'm wrong. Well debug useflag is somewhat a bit uncertain about the use. I'll consider about adding a debug useflag to add -DDEBUG, I don't consider debug things for -g flag. But for sure I won't use a two-ways make/make install calls for that :) I don't really care how it is implemented. The only thing I'm interested in, is having an easy way to build a debug version of this library. Fixed and documented in xine maintainer guide. |