Subject: Re: Option to enable debug support in a pkg
To: Martin Husemann <>
From: Todd Vierling <>
List: tech-pkg
Date: 11/01/2005 10:20:28
On Tue, 1 Nov 2005, Martin Husemann wrote:

> As a user of a less common architecture (;-}) I frequently find myself
> debugging packages. Many do have configure or buildtime switches to
> support this, but they are different from pkg to pkg.

> Now my question: would it be a good idea to have a common way to do this
> via the options framework? Like
>   PKG_OPTIONS.ORBit2 += debug
>   PKG_OPTIONS.gecko += debug

You could do so, but it is configuration process specific.  For instance,
only GNU_CONFIGURE packages can use this knob by adding --enable-debug to
CONFIGURE_ARGS; other packages may need to support the option differently.

-- Todd Vierling <> <> <>