svn commit: r43146 - head/en_US.ISO8859-1/books/porters-handbook

Rene Ladan rene at FreeBSD.org
Fri Nov 8 20:16:47 UTC 2013


Author: rene
Date: Fri Nov  8 20:16:47 2013
New Revision: 43146
URL: http://svnweb.freebsd.org/changeset/doc/43146

Log:
  - Library dependencies are first checked during the build phase,
    not during the extract phase
  - Update all examples on LIB_DEPENDS to the new syntax [1]
  Requested by:	bdrewery [1]
  Approved by:	remko (mentor)

Modified:
  head/en_US.ISO8859-1/books/porters-handbook/book.xml

Modified: head/en_US.ISO8859-1/books/porters-handbook/book.xml
==============================================================================
--- head/en_US.ISO8859-1/books/porters-handbook/book.xml	Fri Nov  8 20:13:39 2013	(r43145)
+++ head/en_US.ISO8859-1/books/porters-handbook/book.xml	Fri Nov  8 20:16:47 2013	(r43146)
@@ -3590,7 +3590,7 @@ ALWAYS_KEEP_DISTFILES=	yes
 	  it is not found.</para>
 
 	<para>The dependency is checked twice, once from within the
-	  <buildtarget>extract</buildtarget> target and then from within
+	  <buildtarget>build</buildtarget> target and then from within
 	  the <buildtarget>install</buildtarget> target.  Also, the name
 	  of the dependency is put into the package so that
 	  &man.pkg.add.1; will automatically install it if it is not
@@ -3988,7 +3988,7 @@ ALWAYS_KEEP_DISTFILES=	yes
 	  <programlisting>.include <bsd.port.pre.mk>
 
 .if exists(${LOCALBASE}/bin/foo)
-LIB_DEPENDS=	bar:${PORTSDIR}/foo/bar
+LIB_DEPENDS=	libbar.so:${PORTSDIR}/foo/bar
 .endif</programlisting>
 	</example>
 
@@ -4011,7 +4011,7 @@ BAR_DESC=	Bar support
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MBAR}
-LIB_DEPENDS=	bar:${PORTSDIR}/foo/bar
+LIB_DEPENDS=	libbar.so:${PORTSDIR}/foo/bar
 .endif</programlisting>
 	</example>
 
@@ -4439,7 +4439,7 @@ CONFIGURE_ARGS+=	--without-postgres
 .endif
 
 .if ${PORT_OPTIONS:MICU}
-LIB_DEPENDS+=	icuuc:${PORTSDIR}/devel/icu
+LIB_DEPENDS+=	libicuuc.so:${PORTSDIR}/devel/icu
 .endif
 
 .if ! ${PORT_OPTIONS:MEXAMPLES}


More information about the svn-doc-head mailing list