Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29042 - add support for "debug" use flag to wxGTK-2.4.1-r1.ebuild
Summary: add support for "debug" use flag to wxGTK-2.4.1-r1.ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 28684
Blocks:
  Show dependency tree
 
Reported: 2003-09-18 02:07 UTC by Vaclav Slavik
Modified: 2004-06-30 12:39 UTC (History)
1 user (show)

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


Attachments
patch that adds --enable-debug (wxGTK-2.4.1-r1.ebuild.patch,604 bytes, patch)
2003-09-18 02:08 UTC, Vaclav Slavik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vaclav Slavik 2003-09-18 02:07:22 UTC
This patch to wxGTK-2.4.1-r1.ebuild adds support for debug USE variable. If use
debug, then --enable-debug is added to configure, which has three effects:
1. -g is used
2. sanity checks are compiled into wxGTK
3. the library is called libwx_gtkd-2.4.so instead of libwx_gtk-2.4.so (this
doesn't affect other ebuilds because wx-config returns correct -l flags for the
linker)

Reproducible: Always
Steps to Reproduce:
Comment 1 Vaclav Slavik 2003-09-18 02:08:50 UTC
Created attachment 17945 [details, diff]
patch that adds --enable-debug
Comment 2 Radek Podgorny 2003-10-07 14:30:14 UTC
Take a look at bug 28684, the ebuild submitted there can be used to close
this bug...

Radek
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-10-07 14:32:23 UTC
i'll take this one while i'm doing wxGTK updates
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-10-07 16:56:22 UTC
this has been added to wxGTK-2.4.2.

thanks for your patch and report. (and sorry it took a while for it to get
into portage)
Comment 5 Vaclav Slavik 2004-06-30 12:39:45 UTC
Is there any reason why "debug" is missing from IUSE in latest wxGTK ebuilds? It's still supported (i.e. --enable-debug) used, but no longer advertised.