pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: devel/gdb6 options notui



Hi Jake!

On Wed, Apr 01, 2009 at 08:10:52PM -0400, Jake Kupersmith wrote:
> I was attempting to build devel/gdb6 today and encountered link errors
> involving libtermcap and libcurses.  These are required for the gdbtui
> application.  I don't need this functionality and read somewhere to
> just pass --disable-tui to configure.

What is the error and on what platform do you see it?

> Here are a few patches which add the 'PKG_OPTIONS.gdb6' options
> variable and the 'notui' option which prevents the gdbtui application
> from being built.  I'm not sure if this is correct or will work on all
> platforms though, it seems fine to me.

I've added something similar; however, I called the option "gdb6-tui"
because a) it's gdb6-specific and b) we don't like negative options.
Adding "PKG_OPTIONS.gdb6=-gdb6-tui" to your mk.conf does what you
want.

Cheers,
 Thomas


Home | Main Index | Thread Index | Old Index