diff options
author | wiz <wiz@pkgsrc.org> | 2012-09-19 15:26:34 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-09-19 15:26:34 +0000 |
commit | c9514507024cbb951074944743322d81a09736f4 (patch) | |
tree | 16637aa4b87fdd2718185633a1061883a485f139 /doc/guide/files | |
parent | 933e5567236636b9ced42f630c39a763e411b51c (diff) | |
download | pkgsrc-c9514507024cbb951074944743322d81a09736f4.tar.gz |
Describe what to do with Makefile.PL.
From Silas Silva in PR 46981.
Diffstat (limited to 'doc/guide/files')
-rw-r--r-- | doc/guide/files/build.xml | 9 |
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 |