Re: DEBUG does not disable stripping in some ports

2012-05-08 Thread Stuart Henderson
On 2012/05/05 17:57, Tobias Ulmer wrote: Setting DEBUG not only sets additional CFLAGS, it also disables stripping during the 'fake' stage for ports that use BSD make as build system. Curiously this does not work for ports that have a custom 'do-install' target (or friends) and use

Re: DEBUG does not disable stripping in some ports

2012-05-06 Thread Stuart Henderson
On 2012/05/05 18:23, Antoine Jacoutot wrote: On Sat, May 05, 2012 at 06:16:59PM +0200, Tobias Ulmer wrote: For building ports you're supposed to use SUDO=/usr/bin/sudo -E in /etc/mk.conf I guess the documentation should be made aware of that... Is using -E helping in your

Re: DEBUG does not disable stripping in some ports

2012-05-06 Thread Antoine Jacoutot
On Sun, May 06, 2012 at 09:11:01AM +0100, Stuart Henderson wrote: On 2012/05/05 18:23, Antoine Jacoutot wrote: On Sat, May 05, 2012 at 06:16:59PM +0200, Tobias Ulmer wrote: For building ports you're supposed to use SUDO=/usr/bin/sudo -E in /etc/mk.conf I guess the

DEBUG does not disable stripping in some ports

2012-05-05 Thread Tobias Ulmer
Setting DEBUG not only sets additional CFLAGS, it also disables stripping during the 'fake' stage for ports that use BSD make as build system. Curiously this does not work for ports that have a custom 'do-install' target (or friends) and use INSTALL_PROGRAM. After pulling my hair a bit, it

Re: DEBUG does not disable stripping in some ports

2012-05-05 Thread Antoine Jacoutot
On Sat, May 05, 2012 at 05:57:30PM +0200, Tobias Ulmer wrote: Setting DEBUG not only sets additional CFLAGS, it also disables stripping during the 'fake' stage for ports that use BSD make as build system. Curiously this does not work for ports that have a custom 'do-install' target (or

Re: DEBUG does not disable stripping in some ports

2012-05-05 Thread Antoine Jacoutot
On Sat, May 05, 2012 at 06:16:59PM +0200, Tobias Ulmer wrote: For building ports you're supposed to use SUDO=/usr/bin/sudo -E in /etc/mk.conf I guess the documentation should be made aware of that... Is using -E helping in your case? Interesting. Indeed it does fix my problem.