Date: Wed, 17 Sep 2014 08:38:33 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r45629 - in head/en_US.ISO8859-1: books/porters-handbook/special htdocs/gnome/docs Message-ID: <201409170838.s8H8cXCA011188@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat (ports committer) Date: Wed Sep 17 08:38:32 2014 New Revision: 45629 URL: http://svnweb.freebsd.org/changeset/doc/45629 Log: Update the USE_AUTOTOOLS/USE_GNOME as of r368357 of the ports tree. Sponsored by: Absolight Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml head/en_US.ISO8859-1/htdocs/gnome/docs/porting.xml Modified: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Tue Sep 16 22:17:03 2014 (r45628) +++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml Wed Sep 17 08:38:32 2014 (r45629) @@ -783,9 +783,8 @@ CMAKE_SOURCE_PATH= ${WRKSRC}/subp <para>At the time of writing, <replaceable>tool</replaceable> can be one of <literal>autoconf</literal>, <literal>autoheader</literal>, <literal>automake</literal>, - <literal>aclocal</literal>, <literal>libtool</literal> - (deprecated), <literal>libtoolize</literal>, - <literal>libltdl</literal>. It can also be one the older + <literal>aclocal</literal>, <literal>libtoolize</literal>. + It can also be one the older legacy of <literal>autoconf213</literal>, <literal>autoheader213</literal>, <literal>automake14</literal>, @@ -803,12 +802,11 @@ CMAKE_SOURCE_PATH= ${WRKSRC}/subp </sect2> <sect2 xml:id="using-libtool"> - <title><command>libtool</command></title> + <title><command>libtool</command> and <command>libtoolize</command></title> - <para>The use of <literal>USE_AUTOTOOLS=libtool</literal> is - deprecated. Now all ports that ship with their own copy of - libtool (search for a file named ltmain.sh) need to have - <literal>USES=libtool</literal>. Also, if a port has + <para>Ports shipping with their own copy of libtool (search for + a file named ltmain.sh) need to have + <literal>USES=libtool</literal>. If a port has <literal>USE_AUTOTOOLS=libtoolize</literal> it probably also needs <literal>USES=libtool</literal>. See the <link linkend="uses-libtool">USES=libtool</link> section in <xref @@ -817,24 +815,17 @@ CMAKE_SOURCE_PATH= ${WRKSRC}/subp </sect2> <sect2 xml:id="using-libltdl"> - <title><command>libltdl</command></title> + <title><filename>libltdl.so</filename></title> - <para>Some ports make use of the <command>libltdl</command> + <para>Some ports make use of the <filename>libltdl.so</filename> library package, which is part of the <command>libtool</command> suite. Use of this library does not automatically necessitate the use of - <command>libtool</command> itself, so a separate construct - is provided.</para> + <command>libtool</command> itself. If the port needs + <filename>libltdl.so</filename>, add a dependency on + it:</para> - <programlisting>USE_AUTOTOOLS= libltdl</programlisting> - - <para>Currently, all this does is to bring in a - <varname>LIB_DEPENDS</varname> on the appropriate - <command>libltdl</command> port, and is provided as a - convenience function to help eliminate any dependencies on - the autotools ports outside of the - <varname>USE_AUTOTOOLS</varname> framework. There are no - optional operations for this tool.</para> + <programlisting>LIB_DEPENDS= libltdl.so:${PORTSDIR}/devel/libltdl</programlisting> </sect2> <sect2 xml:id="using-autoconf"> Modified: head/en_US.ISO8859-1/htdocs/gnome/docs/porting.xml ============================================================================== --- head/en_US.ISO8859-1/htdocs/gnome/docs/porting.xml Tue Sep 16 22:17:03 2014 (r45628) +++ head/en_US.ISO8859-1/htdocs/gnome/docs/porting.xml Wed Sep 17 08:38:32 2014 (r45629) @@ -332,13 +332,7 @@ GCONF_SCHEMAS= CDDB-Slave2.schemas gnome They also use the GNU configure system. If your port installs shared libraries, and includes an <tt>ltmain.sh</tt> script in its <tt>${WRKSRC}</tt> directory, you should add - <tt>USE_AUTOTOOLS="libtool":15</tt> to your port's Makefile. - However, if your port uses custom <tt>LIBTOOLFLAGS</tt>, you - must use <tt>USE_AUTOTOOLS="libtool":13:inc</tt> instead. If you have - to use <tt>libtool:X:inc</tt>, you must also add - <tt>lthack</tt> to <tt>USE_GNOME</tt>. In general, though, - <tt>lthack</tt> is deprecated, and should only be used if - absolutely necessary.</p> + <tt>USES=libtool</tt> to your port's Makefile.</p> <!-- End GNOME libtool --> <!-- Begin GNOME distfiles -->
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409170838.s8H8cXCA011188>