[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: installing packages under obsd
- To: ports_(_at_)_openbsd_(_dot_)_org
- Subject: Re: installing packages under obsd
- From: jsyn <jsyn_(_at_)_nthought_(_dot_)_com>
- Date: Mon, 26 Nov 2001 18:53:38 -0600
On Mon, Nov 26, 2001 at 03:09:38PM -0800, Camille Davis wrote:
> You can go into the directory, like this for example ...
> ... and edit the "Makefile" there to set your options.
Note that this isn't a recommended way to do things. If the port doesn't
already have a FLAVOR supporting what you need, you should probably
contact the MAINTAINER about it, and have it added (this helps us all).
> Also good to update a port by CVS *before* you install it. Like this:
> $ cd /usr/ports/www/php4
> $ export CVSROOT="anoncvs_(_at_)_anoncvs1_(_dot_)_ca_(_dot_)_openbsd_(_dot_)_org:/cvs"
> $ export CVS_RSH="/usr/bin/ssh"
> $ cvs up -r OPENBSD_2_9 -Pd
It's a bad idea to update your local copy of individual ports apart
from the ports infrastructure. In most cases, NEED_VERSION will prevent
this from working anyway. Do the above, but from /usr/ports.
Also, realize that although this example fetches ports from 2.9-stable
(which is okay), ports itself tracks -current, and breakage could occur
if you're using -current ports, but not -current src.