From owner-freebsd-doc Tue Oct 22 15:40:15 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20A4637B4D1 for ; Tue, 22 Oct 2002 15:40:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6750C43E65 for ; Tue, 22 Oct 2002 15:40:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9MMe2x3041058 for ; Tue, 22 Oct 2002 15:40:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9MMe28e041057; Tue, 22 Oct 2002 15:40:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D84237B401 for ; Tue, 22 Oct 2002 15:35:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0610A43E3B for ; Tue, 22 Oct 2002 15:35:13 -0700 (PDT) (envelope-from adamw@FreeBSD.org) Received: from freefall.freebsd.org (adamw@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9MMZCx3040834 for ; Tue, 22 Oct 2002 15:35:12 -0700 (PDT) (envelope-from adamw@freefall.freebsd.org) Received: (from adamw@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9MMZCSt040833; Tue, 22 Oct 2002 15:35:12 -0700 (PDT) Message-Id: <200210222235.g9MMZCSt040833@freefall.freebsd.org> Date: Tue, 22 Oct 2002 15:35:12 -0700 (PDT) From: Adam Weinberger Reply-To: Adam Weinberger To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/44396: Section 15.1 of the Porter's Handbook is no longer applicable Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 44396 >Category: docs >Synopsis: Section 15.1 of the Porter's Handbook is no longer applicable >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Oct 22 15:40:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Adam Weinberger >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD freefall.freebsd.org 4.7-STABLE FreeBSD 4.7-STABLE #6: Tue Oct 15 17:20:55 PDT 2002 peter@freefall.freebsd.org:/c/src/sys/compile/FREEFALL i386 >Description: Section 15.1 of the Porter's Handbook instructs people to create a post-install: target to strip binaries if the port doesn't do it. However, INSTALL_PROGRAM does this automatically, and that macro is described in the very next section. >How-To-Repeat: >Fix: Whack section 15.1 of the Porter's Handbook. root@smacky:/usr/doc/en_US.ISO8859-1/books/porters-handbook# diff -u book.sgml.orig book.sgml --- book.sgml.orig Tue Oct 22 15:32:33 2002 +++ book.sgml Tue Oct 22 15:32:47 2002 @@ -3938,22 +3938,6 @@ doing. - Strip Binaries - - Do strip binaries. If the original source already strips the - binaries, fine; otherwise you should add a - post-install rule to it yourself. Here is an - example: - - post-install: - strip ${PREFIX}/bin/xdl - - Use the &man.file.1; command on the installed executable to - check whether the binary is stripped or not. If it does not say - not stripped, it is stripped. - - - INSTALL_* macros Do use the macros provided in bsd.port.mk >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message