NetBSD Problem Report #46981
From silasdb@gmail.com Tue Sep 18 15:26:04 2012
Return-Path: <silasdb@gmail.com>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 7D4F763B907
for <gnats-bugs@gnats.netbsd.org>; Tue, 18 Sep 2012 15:26:04 +0000 (UTC)
Message-Id: <50589288.05e3640a.3bc2.ffff867f@mx.google.com>
Date: Tue, 18 Sep 2012 08:26:00 -0700 (PDT)
From: silasdb@gmail.com
Reply-To: silasdb@gmail.com
To: gnats-bugs@gnats.NetBSD.org
Subject: Document configuration phase of packages that use Makefile.PL in pkgsrc guide
X-Send-Pr-Version: 3.95
>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: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 18 15:30:00 +0000 2012
>Closed-Date: Wed Sep 19 15:26:59 +0000 2012
>Last-Modified: Wed Sep 19 15:30:04 +0000 2012
>Originator: Silas Silva
>Release: NetBSD 5.1
>Organization:
>Environment:
System: NetBSD auron.ufabc.int.br 5.1 NetBSD 5.1 (GENERIC) #0: Sun Nov 7 14:39:56 UTC 2010 builds@b6.netbsd.org:/home/builds/ab/netbsd-5-1-RELEASE/i386/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
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.
>How-To-Repeat:
>Fix:
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
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
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 19 Sep 2012 15:26:59 +0000
State-Changed-Why:
Committed, thanks!
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/46981 CVS commit: pkgsrc/doc/guide/files
Date: Wed, 19 Sep 2012 15:26:35 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Wed Sep 19 15:26:35 UTC 2012
Modified Files:
pkgsrc/doc/guide/files: build.xml
Log Message:
Describe what to do with Makefile.PL.
From Silas Silva in PR 46981.
To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 pkgsrc/doc/guide/files/build.xml
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.