JK wrote: > On Thu, 5 Jan 2006 14:41:50 -0500 > "Michael P. Soulier" <[EMAIL PROTECTED]> wrote: >> On 1/5/06, Crispy Beef <[EMAIL PROTECTED]> wrote: >>> Am trying to get my head around the ports system, specifically >>> custom options >>> when compiling. For example I would like to install apache 2.2 >>> under it's own >>> dir in /usr/local, say /usr/local/apache22. If I was rolling my own >>> version >>> using the configure script I would do: >>> >>> ./configure prefix="/usr/local/apache22" >> >> I believe the default prefix can be changed, but I'm unclear as to why >> you would want to change it. The port installs a package that you can >> then remove easily with the pkg tools. Why would you want to do this? > > But wait! I thought the pkg system maintained track of where things > were installed even if directed somewhere else and a pkg_delete etc > would still work. No? > the pkgdb will record the location of PREFIX, so pkg_delete will still remove it even if its changed.
cd /usr/ports/www/apache22 make PREFIX=/usr/local/apache22 install clean Enjoy __________________________________________________ Frank Laszlo System Administrator The VonOstin Group Email: [EMAIL PROTECTED] WWW: http://www.vonostingroup.com Mobile: 248-863-7584 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"