Subject: Re: pkg build with -g and no strip-ing
To: john heasley <heas@shrubbery.net>
From: Frederick Bruckman <fredb@immanent.net>
List: current-users
Date: 08/18/2001 13:31:31
On Sat, 18 Aug 2001, john heasley wrote:

> is there an convenient way to build a package with symbols and have it
> installed without strip-ing, other than manipulating the makefile/configure
> by hand?

You mean NetBSD pkgsrc packages? In a word, "no".

When I need to debug a package, I'll do "make clean && make
configure", descend into the build directory, correct makefiles as
needed, come back up and do a "make deinstall && make reinstall" (to
build and install all the ancillary files), then run it under "gdb" in
the build directory.

Frederick