Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2003 16:41:54 +0200
From:      Udo Schweigert <Udo.Schweigert@siemens.com>
To:        Dan Langille <dan@langille.org>
Cc:        ports@freebsd.org
Subject:   Re: how do I not strip the binaries?
Message-ID:  <20030530144154.GA63441@alaska.cert.siemens.de>
In-Reply-To: <3ED71B8E.17289.B89F9ED0@localhost>
References:  <3ED71B8E.17289.B89F9ED0@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 30, 2003 at 08:51:26 -0400, Dan Langille wrote:
> According to /usr/ports/Mk/bsd.port.mk:
> 
## INSTALL_PROGRAM - A command to install binary executables.  (By
##                    default, also strips them, unless ${STRIP} is
##                    overridden to be the empty string).
> 
> For debugging purposes, I don't want the binaries stripped.  I've 
> tried defining STRIP in various places (command line, /etc/make.conf) 
> but can't stop the stripping:
> 
> /usr/bin/install -c -o root -g wheel -s -m 754 bacula-sd 
> /usr/local/sbin/bacula-sd
> 

The STRIP variable only applies if the BSD-make AND ${INSTALL_PROGRAM} is
used and wasn't replaced by another definition. Many ported software uses
it's own definition of INSTALL_PROGRAM. I guess that you were talking about
sysutils/bacula, which has (after the configure-step) the following
definition in it's top-level-Makefile:

INSTALL_PROGRAM = /usr/bin/install -c -o root -g wheel -s -m 754

The only way to change that, is to patch the Makefile(s).


Best regards

Udo Schweigert
--
Udo Schweigert, Siemens AG   | Voice      : +49 89 636 42170
CT IC CERT, Siemens CERT     | Fax        : +49 89 636 41166
D-81730 München / Germany    | email      : Udo.Schweigert@siemens.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030530144154.GA63441>