Date: Tue, 22 Oct 2002 15:35:12 -0700 (PDT) From: Adam Weinberger <adamw@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/44396: Section 15.1 of the Porter's Handbook is no longer applicable Message-ID: <200210222235.g9MMZCSt040833@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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.</para>
<sect1>
- <title>Strip Binaries</title>
-
- <para>Do strip binaries. If the original source already strips the
- binaries, fine; otherwise you should add a
- <literal>post-install</literal> rule to it yourself. Here is an
- example:</para>
-
- <programlisting>post-install:
- strip ${PREFIX}/bin/xdl</programlisting>
-
- <para>Use the &man.file.1; command on the installed executable to
- check whether the binary is stripped or not. If it does not say
- <literal>not stripped</literal>, it is stripped.</para>
- </sect1>
-
- <sect1>
<title>INSTALL_* macros</title>
<para>Do use the macros provided in <filename>bsd.port.mk</filename>
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210222235.g9MMZCSt040833>
