instalace portu a PREFIX/reinstall

Roman Neuhauser neuhauser at chello.cz
Thu Apr 8 03:05:45 CEST 2004


# jp at devnull.cz / 2004-04-07 11:39:02 +0200:
> 	ahoj, je elegantni moznost, jak v systemu nainstalovat porty a
> (hlavne) jejich zavislosti do jineho adresare via PREFIX (napr.
> adresar, kde vytvarim vlastni distribuci), prestoze zavislosti danych
> portu mam v systemu nainstalovane?

    Date: Mon, 29 Mar 2004 16:21:29 -0800
    From: Kris Kennaway <kris at obsecurity.org>
    To: Craig Rodrigues <rodrigc at crodrigues.org>
    Cc: freebsd-ports at freebsd.org
    Subject: Re: Need help debugging apr port

    [-- Attachment #1 --]
    [-- Type: text/plain, Encoding: quoted-printable, Size: 1.4K --]

    On Mon, Mar 29, 2004 at 06:58:11PM -0500, Craig Rodrigues wrote:
    >   How can I reproduce the jail environment that bento uses
    >   to build a port, i.e. I want the jail to have no ports installed,
    >   so that when I build the port, the necessary dependent packages will
    >   be installed.

    Just put a clean installation of FreeBSD into a directory (e.g. by
    installworld, or unpacking the binary distributions from a release
    build), add a clean ports tree and chroot into the directory.  Then
    either build the port normally to pick up and install dependencies, or
    pkg_add the packages by hand (bento uses non-general scripts to do
    this).  USE_PACKAGE_DEPENDS may help, but you need to already have the
    packages present.

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html



More information about the Users-l mailing list