From owner-freebsd-doc@FreeBSD.ORG Tue May 19 14:43:25 2015 Return-Path: Delivered-To: freebsd-doc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9BB625FB for ; Tue, 19 May 2015 14:43:25 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 85A5315BF for ; Tue, 19 May 2015 14:43:25 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4JEhPJO068727 for ; Tue, 19 May 2015 14:43:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-doc@FreeBSD.org Subject: [Bug 186905] [PATCH] porters-handbook/makefiles/chapter.xml Stripping Binaries and Shared Libraries Date: Tue, 19 May 2015 14:43:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Documentation X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-doc@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 14:43:25 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186905 Ed Maste changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org --- Comment #1 from Ed Maste --- The patch is confusing to me: > --- en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml (revisio= n 43995) > +++ en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml (working= copy) > @@ -4138,6 +4138,14 @@ > post-install target. For > example: >=20=20 > + First try to use USES macros > + > + > + MAKE_ENV=3D INSTALL_STRIP_FLAG=3D${STRIP} * How is this related to the USES macro? * This is still in the example after "This is typically done within the post-install target," yet this is instead of the post-install target. > + > + When this doesn't work, use in > + post-install target. * In what way would the above not work? > + > post-install: > ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xdl --=20 You are receiving this mail because: You are the assignee for the bug.=