FreeBSD Bugzilla – Attachment 140025 Details for
Bug 186466
[PATCH] book.xml Stripping Binaries and Shared Libraries
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 923 bytes, created by
Rusmir Dusko
on 2014-02-04 23:00:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Rusmir Dusko
Created:
2014-02-04 23:00:00 UTC
Size:
923 bytes
patch
obsolete
>Index: en_US.ISO8859-1/books/porters-handbook/book.xml >=================================================================== >--- en_US.ISO8859-1/books/porters-handbook/book.xml (revision 43779) >+++ en_US.ISO8859-1/books/porters-handbook/book.xml (working copy) >@@ -5096,8 +5096,16 @@ > example:</para> > > <programlisting>post-install: >- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xdl</programlisting> >+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}</programlisting> > >+ <para>If you need to strip more files, here shared libraries. >+ For example:</para> >+ >+ <programlisting>post-install: >+ .for l in geometry media body track world >+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}-${l}.so.0 >+ .endfor</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.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 186466
: 140025 |
140026