Subject: pkg/19904: perl58: $Config{'man3ext'} invalid
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Friedrich <matt@mafr.de>
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
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Friedrich
>Release:        NetBSD 1.6
>Organization:
	
>Environment:
	
	
System: NetBSD alanis.mafr.de 1.6 NetBSD 1.6 (ALANIS) #4: Fri Nov 29 12:29:00 CET 2002 root@alanis.mafr.de:/usr/src/sys/arch/i386/compile/ALANIS i386
Architecture: i386
Machine: i386
>Description:
	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).
	
>How-To-Repeat:
	
>Fix:
	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.
>Release-Note:
>Audit-Trail:
>Unformatted: