Subject: pkg/15091: textutils need perl5
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hiramatu@boreas.dti.ne.jp>
List: netbsd-bugs
Date: 12/30/2001 01:24:27
>Number:         15091
>Category:       pkg
>Synopsis:       textutils need perl5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 29 08:25:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Hiramatsu Yoshifumi
>Release:        NetBSD 1.5.2
>Organization:
	
>Environment:
	<machine, os, target, libraries (multiple lines)>
NetBSD orange.my.domain 1.5.2 NetBSD 1.5.2 (GENERIC) #3: Sat Aug 18 23:37:05 CEST 2001     he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:

Compiling textproc/textutils needs perl. If it's not installed,
compile will fail with this message.

gmake[2]: Entering directory `/usr/tmp/textproc/textutils/work/textutils-2.0/man'
Updating man page cat.1
WARNING: `perl' is needed, and you do not seem to have it handy on your
         system.  You might have modified some files without having the
         proper tools for further handling them.  Check the `README' file,
         it often tells you about the needed prerequirements for installing
         this package.  You may also peek at any GNU archive site, in case
         some other package would contain this missing `perl' program.
gmake[2]: *** [cat.1] Error 1
gmake[2]: Leaving directory `/usr/tmp/textproc/textutils/work/textutils-2.0/man'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/tmp/textproc/textutils/work/textutils-2.0'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop.
*** Error code 1

Stop.

>How-To-Repeat:
# cd /usr/pkgsrc/textproc/textutils
# make

>Fix:
Add

BUILD_DEPENDS+=         perl>=${PERL5_REQD}:../../lang/perl5

to Makefile.
>Release-Note:
>Audit-Trail:
>Unformatted: