Subject: Re: Using pkgsrc to build from source
To: Dan Labute <Dan.Labute@Netcontech.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 02/04/2006 18:11:12
On Thu, Feb 02, 2006 at 09:40:29AM -0500, Dan Labute wrote:
> Hello,
> 
>  
> 
>             I've run into a roadblock with the pkgsrc binary distribution of
> Apache2 - there is no build available for my architecture / version (i386 /
> NetBSD 2.0.2).

You can use the 2.1 binary packages, they will work on 2.0.2

> I've used pkgsrc to build from source in the past, but it's
> been awhile, and I can't recall how to do it. Could someone please walk me
> through it?

Basically:
setenv CVS_RSH ssh
cvs -d anoncvs@anoncvs.netbsd.org:/cvsroot co -P -r pkgsrc-2005Q4 pkgsrc
cd pkgsrc/www/apache2
make install && make clean

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--