Date: Tue, 19 May 2015 14:43:25 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-doc@FreeBSD.org Subject: [Bug 186905] [PATCH] porters-handbook/makefiles/chapter.xml Stripping Binaries and Shared Libraries Message-ID: <bug-186905-9-ffRm4I72uu@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-186905-9@https.bugs.freebsd.org/bugzilla/> References: <bug-186905-9@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D186905 Ed Maste <emaste@freebsd.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emaste@freebsd.org --- Comment #1 from Ed Maste <emaste@freebsd.org> --- 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 @@ > <buildtarget>post-install</buildtarget> target. For > example:</para> >=20=20 > + <para>First try to use <varname>USES</varname> macros</para> > + > + <programlisting> > + MAKE_ENV=3D INSTALL_STRIP_FLAG=3D${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> --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-186905-9-ffRm4I72uu>