*BSD News Article 85939


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!swidir.switch.ch!01-newsfeed.univie.ac.at!Austria.EU.net!EU.net!howland.erols.net!feed1.news.erols.com!news.ecn.uoknor.edu!news.wildstar.net!newsfeed.direct.ca!nntp.portal.ca!news.bc.net!info.ucla.edu!nnrp.info.ucla.edu!news.ucdavis.edu!dragon.nuxi.com!obrien
From: David O'Brien <deobrien@ucdavis.edu>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Where to put packages *not* from FreeBSD ?
Date: 31 Dec 1996 20:03:29 GMT
Organization: University of California, Davis
Lines: 22
Message-ID: <5abrih$cjq$1@mark.ucdavis.edu>
References: <stanbE2z02s.BIK@netcom.com> <59rvb3$1nm@klemm.gtn.com> <5a4t9e$5b2@nr1.vancouver.istar.net> <stanbE36GJD.2GL@netcom.com> <5a7lm9$3be@dewey.udel.edu>
NNTP-Posting-Host: reqb-049.ucdavis.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 961203]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:33382

In comp.unix.bsd.freebsd.misc Jerry Alexandratos <alexandr@stimpy.eecis.udel.edu> wrote:
: In article <stanbE36GJD.2GL@netcom.com>, Stan Brown <stanb@netcom.com> wrote:
: : Since FreeBSD puts things in .usr/loal, where should I putpackages that
: : I wish to aintain *seperatly* from FreebSD. That is without any risk
: : that any upgrading of FreeBSD (Binary or sourc via make worl) will mess
: : with it?

: FreeBSD only puts ports into /usr/local.  

Not quite.  FreeBSD puts ports/packages where you tell it.  We work hard
to make this user flexable.  *BY DEFAULT* non-X packages are put in
/usr/local, and X packages are put in /usr/X11R6.

You can change this by "make PREFIX=/foobar install" when you make build
and install the port (assuming you are starting from a clean port dir).
With a package you do "pkg_add -p /foobar package_file.tgz".  Note that
if the package is such that it has hardcoded paths in it, those generate
by the FreeBSD ports team will have either /usr/local or /usr/X11R6
compiled in.

-- 
-- David	(deobrien@ucdavis.edu)