Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2003 11:03:46 +0200
From:      "Yonatan Bokovza" <Yonatan@xpert.com>
To:        <freebsd-ports@freebsd.org>
Subject:   using "strip" in Makefile
Message-ID:  <C2DC75EEA405354AA9C03EF5CB8CDE080B685C@EXCHANGE.xpert.com>

next in thread | raw e-mail | index | archive | help
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} =3D=3D "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




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