Add a warning about using SITE_PERL for perl deps.

PR:		docs/167295
Submitted by:	jgh
Approved by:	gabor
This commit is contained in:
Eitan Adler 2012-04-26 19:36:55 +00:00
parent 9ef76e4451
commit ba2ca70980
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=38755

View file

@ -5600,6 +5600,21 @@ PLIST_SUB+= NLS="@comment "
<literal>http://search.cpan.org/dist/Module-Name/</literal>
(including the trailing slash).</para>
</note>
<note>
<para>It is recommended to avoid using <literal>
${SITE_PERL}</literal> as a dependency listing. This is
problematic because it means that
<filename>bsd.perl.mk</filename> must be included
to satisfy the dependency. Additionally, if the module's
files change, it would require changing all
dependent ports.</para>
</note>
<example id="use-perl-dependency-example">
<title>PERL Dependency Example</title>
<programlisting>p5-IO-Tee&gt;=0.64:${PORTSDIR}/devel/p5-IO-Tee</programlisting>
</example>
</sect1>
<sect1 id="using-x11">