summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2013-04-15 12:54:45 +0000
committerobache <obache@pkgsrc.org>2013-04-15 12:54:45 +0000
commitd4267b4c7c50360d660519967acc1f7f530e8132 (patch)
tree3a8f051c9b736a5a9aeccf847b0462b1375b0cfd /doc/guide
parent2ae9291108f55a1002fd52f1eac38a4aad5db0a2 (diff)
downloadpkgsrc-d4267b4c7c50360d660519967acc1f7f530e8132.tar.gz
Update perl5 related items:
* PERL5_PACKLIST is list of relative paths * update perl5 installation directory related variables, inspired by PR pkg/47724.
Diffstat (limited to 'doc/guide')
-rw-r--r--doc/guide/files/fixes.xml31
1 files changed, 21 insertions, 10 deletions
diff --git a/doc/guide/files/fixes.xml b/doc/guide/files/fixes.xml
index a4d82cdedfe..7204adb46db 100644
--- a/doc/guide/files/fixes.xml
+++ b/doc/guide/files/fixes.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: fixes.xml,v 1.115 2013/03/31 09:12:26 obache Exp $ -->
+<!-- $NetBSD: fixes.xml,v 1.116 2013/04/15 12:54:45 obache Exp $ -->
<chapter id="fixes"> <?dbhtml filename="fixes.html"?>
<title>Making your package work</title>
@@ -1421,19 +1421,30 @@ REPLACE_FILES.tcl= # list of tcl scripts which need to be fixed,
the installed <filename>.packlist</filename> file generated by
most perl5 modules. This is invoked by defining
<varname>PERL5_PACKLIST</varname> to a space-separated list of
- paths to packlist files, e.g.:</para>
+ packlist files relative to <varname>PERL5_PACKLIST_DIR</varname>
+ (<varname>PERL5_INSTALLVENDORARCH</varname> by default),
+ e.g.:</para>
<programlisting>
-PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Pg/.packlist
+PERL5_PACKLIST= auto/Pg/.packlist
</programlisting>
- <para>The variables <varname>PERL5_SITELIB</varname>,
- <varname>PERL5_SITEARCH</varname>, and
- <varname>PERL5_ARCHLIB</varname> represent the three locations
- in which perl5 modules may be installed, and may be used by
- perl5 packages that don't have a packlist. These three
- variables are also substituted for in the
- <filename>PLIST</filename>.</para>
+ <para>The perl5 config variables
+ <varname>installarchlib</varname>,
+ <varname>installscript</varname>,
+ <varname>installvendorbin</varname>,
+ <varname>installvendorscript</varname>,
+ <varname>installvendorarch</varname>,
+ <varname>installvendorlib</varname>,
+ <varname>installvendorman1dir</varname>, and
+ <varname>installvendorman3dir</varname> represent those
+ locations in which components of perl5 modules may be installed,
+ privided as variable with uppercase and prefixed with
+ <varname>PERL5_</varname>, e.g. <varname>PERL5_INSTALLARCHLIB</varname>
+ and may be used by perl5 packages that don't have a packlist.
+ These variables are also substituted for in the
+ <filename>PLIST</filename> as uppercase prefixed with
+ <varname>PERL5_SUB_</varname>.</para>
</sect2>