- 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)
This commit is contained in:
parent
22adc2b62c
commit
3bc4602b29
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=43146
1 changed files with 4 additions and 4 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue