Subject: pkg/19904: perl58: $Config{'man3ext'} invalid
To: None <>
From: Matthias Friedrich <>
List: netbsd-bugs
Date: 01/18/2003 13:52:24
>Number:         19904
>Category:       pkg
>Synopsis:       $Config{'man3ext'}
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 18 05:16:00 PST 2003
>Originator:     Matthias Friedrich
>Release:        NetBSD 1.6
System: NetBSD 1.6 NetBSD 1.6 (ALANIS) #4: Fri Nov 29 12:29:00 CET 2002 i386
Architecture: i386
Machine: i386
	The configuration of perl58 is wrong. This has been done intentionally,
	see pkgsrc/lang/perl58/Makefile, 'pre-configure'.

	--- snip --------------------------
	#! /usr/pkg/bin/perl
	use Config;

	print $Config{'man3ext'}, "\n";
	--- snip --------------------------

	So this snippet returns "0", which leads to problems for modules that
	want to install additional documentation like audio/p5-MP3-Tag using
	ExtUtils::MakeMaker and MAN3PODS. See PR #19582 for an example. You
	first have to change MAN1PODS in the package's Makefile to
	MAN3PODS (this is the bug that kills the build process, BTW).
	Perhaps use the Debian approach to change the extension to '3pm'.
	Or patch all modules (even those not installed via pkgsrc).
	I don't know.