From owner-freebsd-ports Sun Jan 19 1: 8:11 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 887E637B401 for ; Sun, 19 Jan 2003 01:08:10 -0800 (PST) Received: from void.xpert.com (mail.xpert.com [199.203.132.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DB4F43E4A for ; Sun, 19 Jan 2003 01:07:47 -0800 (PST) (envelope-from Yonatan@xpert.com) Received: from exchange.xpert.com ([199.203.132.135]) by void.xpert.com with esmtp (Exim 3.22 #1) id 18aBLa-00006k-00 for freebsd-ports@freebsd.org; Sun, 19 Jan 2003 11:02:30 +0200 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1255" Content-Transfer-Encoding: quoted-printable Subject: using "strip" in Makefile X-MIMEOLE: Produced By Microsoft Exchange V6.0.5762.3 Date: Sun, 19 Jan 2003 11:03:46 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: using "strip" in Makefile Thread-Index: AcK/megv/s2nYFTXR5GEiVSYrVDCfg== From: "Yonatan Bokovza" To: Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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