pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46981: Document configuration phase of packages that use Makefile.PL in pkgsrc guide

>Number:         46981
>Category:       pkg
>Synopsis:       Document configuration phase of packages that use Makefile.PL 
>in pkgsrc guide
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 18 15:30:00 +0000 2012
>Originator:     Silas Silva
>Release:        NetBSD 5.1
System: NetBSD 5.1 NetBSD 5.1 (GENERIC) #0: Sun Nov 7 
14:39:56 UTC 2010
Architecture: i386
Machine: i386
Configuration phase for different kind of packages and build techniques is
documented, but not Makefile.PL.  Patch below suggests a paragraph to be
included in the pkgsrc guide to fix this problem.
Apply this patch or something like that:

Index: build.xml
RCS file: /cvsroot/pkgsrc/doc/guide/files/build.xml,v
retrieving revision 1.63
diff -u -p -r1.63 build.xml
--- build.xml   4 Aug 2011 13:50:07 -0000       1.63
+++ build.xml   18 Sep 2012 15:10:03 -0000
@@ -590,6 +590,13 @@ ${FETCH_CMD} ${FETCH_BEFORE_ARGS} ${site
     <varname>CONFIGURE_ARGS</varname> may all be changed by the
+    <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/</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

Home | Main Index | Thread Index | Old Index