summaryrefslogtreecommitdiff
path: root/doc/guide/files
diff options
context:
space:
mode:
Diffstat (limited to 'doc/guide/files')
-rw-r--r--doc/guide/files/build.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/guide/files/build.xml b/doc/guide/files/build.xml
index df1d3d70325..17015325c52 100644
--- a/doc/guide/files/build.xml
+++ b/doc/guide/files/build.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: build.xml,v 1.63 2011/08/04 13:50:07 kano Exp $ -->
+<!-- $NetBSD: build.xml,v 1.64 2012/09/19 15:26:34 wiz Exp $ -->
<chapter id="build">
<title>The build process</title>
@@ -590,6 +590,13 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site}${file} ${FETCH_AFTER_ARGS}
<varname>CONFIGURE_ARGS</varname> may all be changed by the
package.</para>
+ <para>If the program uses the Perl way of configuration (mainly Perl
+ modules, but not only), i.e. a file called
+ <filename>Makefile.PL</filename>, it should include
+ <filename>../../lang/perl5/module.mk</filename>. To set any parameter for
+ <filename>Makefile.PL</filename> use the <varname>MAKE_PARAMS</varname>
+ variable (e.g., <literal>MAKE_PARAMS+=foo=bar</literal></para>
+
<para>If the program uses an <filename>Imakefile</filename>
for configuration, the appropriate steps can be invoked by
setting <varname>USE_IMAKE</varname> to