Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2003 01:16:31 -0800
From:      Adam Weinberger <adamw@FreeBSD.ORG>
To:        Yonatan Bokovza <Yonatan@xpert.com>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: using "strip" in Makefile
Message-ID:  <20030119091631.GV3692@vectors.cx>
In-Reply-To: <C2DC75EEA405354AA9C03EF5CB8CDE080B685C@EXCHANGE.xpert.com>
References:  <C2DC75EEA405354AA9C03EF5CB8CDE080B685C@EXCHANGE.xpert.com>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/porting-dads.html#DADS-STRIP

# Adam


>> (01.19.2003 @ 0103 PST): Yonatan Bokovza said, in 0.6K: <<
> hi all,
> I've recently ported some apps, and I'm working on
> more. Where I needed to strip files after installation
> I prefered using security/nmap 's way instead of patching
> the port's Makefile:
> 
> .if !target(post-install) && (${PORTNAME} == "nmap")
> post-install:
> 	@strip ${PREFIX}/bin/nmap
> .endif
> 
> According to Mk/bsd.port.mk I should use ${STRIP_CMD},
> but a short find+grep exposes more than 400 occurances of
> "strip" in ports Makefiles.
> What is the correct way?
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-ports" in the body of the message
> 
>> end of "using "strip" in Makefile" from Yonatan Bokovza <<


- --
Adam Weinberger
vectors.cx	>>	adam@vectors.cx
FreeBSD.org	<<	adamw@FreeBSD.ORG
Bayer Berkeley	>>	adam.weinberger.b@bayer.com
#vim:set ts=8: 8-char tabs prevent tooth decay.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+Kmzvo8KM2ULHQ/0RAnZ2AJ9ef/6FRt78sMkIjL99rablexzEdQCeJmqf
A3MBcaQT3cgrF3vkeQeaw6A=
=CNZp
-----END PGP SIGNATURE-----

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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