Subject: pkg/23009: perl build waiting for input at site-specific manual pages
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 09/29/2003 18:02:52
>Number:         23009
>Category:       pkg
>Synopsis:       perl build waiting for input at site-specific manual pages
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 30 01:03:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1_STABLE
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
System: NetBSD rainier.reedmedia.net 1.6.1_STABLE NetBSD 1.6.1_STABLE (GENERIC) #0: Tue Aug 12 02:52:57 PDT 2003 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Building pkgsrc/lang/perl5 would wait for manual input at the
site-specific manual pages step in Configure.

 System manual is in /usr/man/man1.
 Where do the main Perl5 manual pages (source) go? (~name ok) [none]
 Where do the site-specific manual pages (source) go? (~name ok)

As you can see the main manual pages defaulted to "none".

My workaround was to add to pkgsrc/lang/perl5/Makefile:

  CONFIGURE_ARGS+=        -Dman1dir="${PREFIX}/man/man1"

Is it okay if that is added?

This is under Linux with LOCALBASE=/usr. I have built perl a few times
like this, but this is the first time on this particular system.

I don't really understand all this Configure and getfile steps.

I originally sent this to tech-pkg and to maintainer.
>How-To-Repeat:
	
>Fix:

Index: lang/perl5/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/perl5/Makefile,v
retrieving revision 1.71
diff -b -u -r1.71 Makefile
--- lang/perl5/Makefile	2003/09/13 17:05:08	1.71
+++ lang/perl5/Makefile	2003/09/30 01:00:28
@@ -32,6 +32,8 @@
 CONFIGURE_ARGS+=	-Uinstallusrbinperl
 TEST_TARGET=		test
 
+CONFIGURE_ARGS+=	-Dman1dir="${PREFIX}/man/man1"
+
 # Install Perl man3 pages into a private directory under the the normal
 # Perl installation.  Also install site-specific Perl man3 pages into a
 # private directory within site_perl.  This avoids manpage conflicts
>Release-Note:
>Audit-Trail:
>Unformatted: