Subject: Re: meta package for all Perl modules ?
To: mehul.sanghvi <>
From: Steven M. Bellovin <>
List: pkgsrc-users
Date: 08/03/2007 21:46:08
On Fri, 03 Aug 2007 19:31:51 -0400
"Mehul N. Sanghvi" <> wrote:

> 'allo,
>      What would be the quickest way to build all Perl module in
> pkgsrc/net and pkgsrc/www without building each one manually ?

Here are a few lines of Bourne shell to do it; translate as appropriate
for csh and friends.

mkdir ~/build-logs
cd /usr/pkgsrc
for i in net/p5-* www/p5-*
	(cd $i && make install) >~/build-logs/`basename $i` 2>&1 ||
echo $i failed >>~/build-logs/Failures done

		--Steve Bellovin,