[Bug 186905] [PATCH] porters-handbook/makefiles/chapter.xml Stripping Binaries and Shared Libraries

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue May 19 14:43:25 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=186905

Ed Maste <emaste at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste at freebsd.org

--- Comment #1 from Ed Maste <emaste at freebsd.org> ---
The patch is confusing to me:

> --- en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml	(revision 43995)
> +++ en_US.ISO8859-1/books/porters-handbook/makefiles/chapter.xml	(working copy)
> @@ -4138,6 +4138,14 @@
>  	<buildtarget>post-install</buildtarget> target.  For
>  	example:</para>
>  
> +      <para>First try to use <varname>USES</varname> macros</para>
> +
> +      <programlisting>
> +	  MAKE_ENV= INSTALL_STRIP_FLAG=${STRIP}</programlisting>

* 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.

> +
> +      <para>When this doesn't work, use in
> +	  <buildtarget>post-install</buildtarget> target.</para>

* In what way would the above not work?

> +
>        <programlisting>post-install:
>  	  ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xdl</programlisting>

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-doc mailing list