laszlof at vonostingroup.com
Thu Jan 5 11:56:06 PST 2006
> On Thu, 5 Jan 2006 14:41:50 -0500
> "Michael P. Soulier" <msoulier at digitaltorque.ca> wrote:
>> On 1/5/06, Crispy Beef <crispy.beef at ntlworld.com> 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
>>> 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.
make PREFIX=/usr/local/apache22 install clean
The VonOstin Group
Email: laszlof at tvog.net
More information about the freebsd-questions