FreeBSD Bugzilla – Attachment 67920 Details for
Bug 99997
[patch] zh_TW porter's handbook: chase to rev. 1.729
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 5.24 KB, created by
Cheng-Lung Sung
on 2006-07-10 07:40:16 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Cheng-Lung Sung
Created:
2006-07-10 07:40:16 UTC
Size:
5.24 KB
patch
obsolete
>Index: book.sgml >=================================================================== >RCS file: /home/dcvs/doc/zh_TW.Big5/books/porters-handbook/book.sgml,v >retrieving revision 1.8 >diff -u -r1.8 book.sgml >--- book.sgml 8 Jul 2006 08:55:47 -0000 1.8 >+++ book.sgml 10 Jul 2006 00:38:34 -0000 >@@ -3,6 +3,7 @@ > > $FreeBSD: doc/zh_TW.Big5/books/porters-handbook/book.sgml,v 1.8 2006/07/08 08:55:47 vanilla Exp $ > Original Revision: 1.675 >+ Chased Revision: 1.729 > --> > > <!DOCTYPE BOOK PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [ >@@ -4159,6 +4160,55 @@ > </tgroup> > </table> > </sect2> >+ >+ <sect2 id="using-scons"> >+ <title>Using <command>scons</command></title> >+ >+ <para>If your port uses <application>SCons</application>, define >+ <literal>USE_SCONS=yes</literal>.</para> >+ >+ <table frame="none"> >+ <title>Variables for ports that use <command>scons</command></title> >+ >+ <tgroup cols="2"> >+ <thead> >+ <row> >+ <entry>Variable</entry> >+ >+ <entry>Means</entry> >+ </row> >+ </thead> >+ >+ <tbody> >+ <row> >+ <entry><makevar>SCONS_ARGS</makevar></entry> >+ >+ <entry>Port specific SCons flags passed to the SCons >+ environment.</entry> >+ </row> >+ >+ <row> >+ <entry><makevar>SCONS_BUILDENV</makevar></entry> >+ >+ <entry>Variables to be set in system environment.</entry> >+ </row> >+ >+ <row> >+ <entry><makevar>SCONS_ENV</makevar></entry> >+ >+ <entry>Variables to be set in SCons environment.</entry> >+ </row> >+ >+ <row> >+ <entry><makevar>SCONS_TARGET</makevar></entry> >+ >+ <entry>Last argument passed to SCons, similar to >+ <makevar>MAKE_TARGET</makevar>.</entry> >+ </row> >+ </tbody> >+ </tgroup> >+ </table> >+ </sect2> > </sect1> > > <sect1 id="using-autotools"> >@@ -5467,7 +5517,7 @@ > </row> > > <row> >- <entry><makevar>BROKEN_WITH_PHP</makevar></entry> >+ <entry><makevar>IGNORE_WITH_PHP</makevar></entry> > > <entry>The port does not work with PHP of the given version. > Possible values: <literal>4</literal>, >@@ -5912,6 +5962,88 @@ > > </sect1> > >+ <sect1 id="using-wx"> >+ <title>Using wxWidgets</title> >+ >+ <para>If your port uses <application>wxWidgets</application> >+ cross-platform toolkit, define <literal>USE_WX=yes</literal>. >+ A specific version can be requested by setting >+ <literal>USE_WX=2.6</literal>. Ranges (<literal>2.4-2.6</literal>) >+ and partial ranges (<literal>-2.4</literal>, <literal>2.6+</literal>) >+ are also possible.</para> >+ >+ <para>List of required wxWidgets components can be set as >+ <makevar>WX_COMPS</makevar>. Unless specified otherwise, port will >+ depend on wxWidgets library (<literal>wx</literal>). Available >+ components are:</para> >+ >+ <table frame="none"> >+ <title>Possible values for <makevar>WX_COMPS</makevar></title> >+ >+ <tgroup cols="2"> >+ <thead> >+ <row> >+ <entry>Value</entry> >+ >+ <entry>Means</entry> >+ </row> >+ </thead> >+ >+ <tbody> >+ <row> >+ <entry><literal>wx</literal></entry> >+ >+ <entry>wxWidget libraries</entry> >+ </row> >+ >+ <row> >+ <entry><literal>contrib</literal></entry> >+ >+ <entry>wxWidget contributed libraries</entry> >+ </row> >+ >+ <row> >+ <entry><literal>python</literal></entry> >+ >+ <entry>wxPython</entry> >+ </row> >+ >+ <row> >+ <entry><literal>mozilla</literal></entry> >+ >+ <entry>wxMozilla (only available for 2.4)</entry> >+ </row> >+ >+ <row> >+ <entry><literal>svg</literal></entry> >+ >+ <entry>wxSVG (only available for 2.6)</entry> >+ </row> >+ </tbody> >+ </tgroup> >+ </table> >+ >+ <para>If locating wxWidget libraries needs a configure argument in >+ addition to the <makevar>WX_CONFIG</makevar> variable, define >+ <makevar>WX_CONF_ARGS</makevar> in your port. Possible values >+ are <literal>absolute</literal> resulting in >+ <literal>--with-wx-config=${WX_CONFIG}</literal>, and >+ <literal>relative</literal> resulting in >+ <literal>--with-wx=${X11BASE}</literal> being added to configure >+ script arguments.</para> >+ >+ <para>Define <literal>WX_UNICODE=yes</literal> if your port needs >+ the Unicode version of the wxWidgets libraries.</para> >+ >+ <para>Example of port requiring Unicode versions of wxWidgets 2.6 and >+ contrib libraries:</para> >+ >+ <programlisting>USE_WX= 2.6 >+WX_COMPS= wx contrib >+WX_UNICODE= yes</programlisting> >+ >+ </sect1> >+ > <sect1 id="rc-scripts"> > <title>Starting and stopping services (rc scripts)</title> > >@@ -9796,6 +9928,21 @@ > > </sect1> > >+ <sect1 id="dads-sysctl"> >+ <title><filename>sysctl</filename> ä½¿ç¨ææ©</title> >+ >+ <para><filename>sysctl</filename> é¤äºå¨ targets ä¹å¤ï¼é½ä¸é¼åµä½¿ç¨ã >+ 鿝å çºä»»ä½ <literal>makevar</literal> >+ çè©ä¼°é½æå¯è½æä½¿å¾ç¨åºå·è¡éåº¦è®æ ¢ãä¾å¦å¨ >+ <command>make index</command> çéç¨ä¸å°±æéè¦ç¨å° >+ <filename>sysctl</filename>ã</para> >+ >+ <para>å¨ <filename>sysctl</filename> ç使ç¨ä¸ï¼ä¸å®è¦ç¨å®æ´çè·¯å¾ï¼ >+ ä¹å°±æ¯ä»¥ <filename>/sbin/</filename> éé ï¼å çºæäºä½¿ç¨è ä¹è¨±æ²æ >+ å° <filename>/sbin/</filename> æ¾ç½®å¨ä»åçç°å¢è®æ¸ >+ <envar>PATH</envar> ä¸ã</para> >+ </sect1> >+ > <sect1 id="dads-workarounds"> > <title>Necessary workarounds</title>
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 99997
: 67920