How to differentiate between BSD and OSX and POST_STRIP_PROCESS

Greg Lewis glewis at eyesbeyond.com
Tue Nov 25 20:35:54 PST 2008


On Tue, Nov 25, 2008 at 11:31:17PM -0500, Michael Franz wrote:
> On Tue, Nov 25, 2008 at 12:42 AM, Greg Lewis <glewis at eyesbeyond.com> wrote:
> 
> > G'day Michael,
> >
> > On Mon, Nov 24, 2008 at 09:58:03PM -0500, Michael Franz wrote:
> > > Would it be possible to get this patch applied to the BSD port?
> >
> > Sure.  I think the correct patch though may be to use 'strip -S' on both
> > Mac OS X and *BSD though.  I haven't checked the NetBSD and OpenBSD man
> > pages yet, but it looks like -S on FreeBSD is the same as -g and the
> > description of -S on Mac OS X looks equivalent.  Can you maybe give that
> > a try?
> >
> >
> The -S works fine on OS X.  What is the value for all BSD variants?

I looked up the man pages on NetBSD and OpenBSD too.  They all support
-S as a synonym for -g except Mac OS X which just supports -S.  So I'm
just going to change -g to -S.

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org



More information about the bsd-port-dev mailing list