View | Details | Raw Unified | Return to bug 186466 | Differences between
and this patch

Collapse All | Expand All

(-)en_US.ISO8859-1/books/porters-handbook/book.xml (-1 / +9 lines)
Lines 5096-5103 Link Here
5096
	  example:</para>
5096
	  example:</para>
5097
5097
5098
	<programlisting>post-install:
5098
	<programlisting>post-install:
5099
	  ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xdl</programlisting>
5099
	  ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}</programlisting>
5100
5100
5101
	<para>If you need to strip more files, here shared libraries.
5102
	 For example:</para>
5103
5104
	<programlisting>post-install:
5105
	 .for l in geometry media body track world
5106
	 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}-${l}.so.0
5107
	 .endfor</programlisting>
5108
5101
	<para>Use the &man.file.1; command on the installed executable
5109
	<para>Use the &man.file.1; command on the installed executable
5102
	  to check whether the binary is stripped or not.  If it does
5110
	  to check whether the binary is stripped or not.  If it does
5103
	  not say <literal>not stripped</literal>, it is stripped.
5111
	  not say <literal>not stripped</literal>, it is stripped.

Return to bug 186466