From owner-freebsd-ports Sun Jan 19 1:14:12 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 35EFE37B401 for ; Sun, 19 Jan 2003 01:14:11 -0800 (PST) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id B965443F5B for ; Sun, 19 Jan 2003 01:14:10 -0800 (PST) (envelope-from monkey@vectors.cx) Received: from vectors.cx (2c6b985ce8fe400db7e820394f32dcd1@localhost [127.0.0.1]) by vectors.cx (8.12.6/8.12.4) with ESMTP id h0J9GVVt012403; Sun, 19 Jan 2003 01:16:31 -0800 (PST) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.6/8.12.6/Submit) id h0J9GVRd012402; Sun, 19 Jan 2003 01:16:31 -0800 (PST) (envelope-from monkey) Date: Sun, 19 Jan 2003 01:16:31 -0800 From: Adam Weinberger To: Yonatan Bokovza Cc: freebsd-ports@FreeBSD.ORG Subject: Re: using "strip" in Makefile Message-ID: <20030119091631.GV3692@vectors.cx> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed Content-Disposition: inline In-Reply-To: X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-PGP-Key: http://www.vectors.cx/pgp.key.txt X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.3i 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 -----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