Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2004 13:10:03 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        andrew clarke <mail@ozzmosis.com>
Cc:        ports@freebsd.org
Subject:   Re: mail/fetchyahoo running failure
Message-ID:  <20040414121003.GA30945@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <20040414113323.GA45005@ozzmosis.com>
References:  <20040410030621.GA844@doom.homeunix.org> <20040414111827.GA44907@ozzmosis.com> <20040414113323.GA45005@ozzmosis.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 14, 2004 at 09:33:23PM +1000, andrew clarke wrote:
> On Wed, Apr 14, 2004 at 09:18:27PM +1000, andrew clarke wrote:
>=20
> > Actually on second thoughts the lang/perl5 port will probably install
> > itself to /usr/local/bin/perl, leaving /usr/bin/perl alone, in which
>=20
> Now that I think about it, when I installed the misc/less port, the main
> binary was copied to /usr/local/bin/less, leaving /usr/bin/less alone.
>=20
> I assume this is common practice for Ports, ie. don't clobber anything
> distributed in the Base system (/bin, /sbin, /usr/bin, /usr/sbin, etc.)?

It's not just common practice -- it's one of the best things about
ports.  Everything gets installed under /usr/local or /usr/X11R6 --
where necessary the port will be patched to expect to find it's
configuration files in (say) /usr/local/etc rather than /etc. The
strict adherence to hier(7) is excellent when it comes to updating one
part of the system without accidentally stomping on another part.

The only exceptions are a small number of ports like OpenSSL, OpenSSH
or BIND which have specific non-default options to let them overwrite
the equivalent software in the base system. =20

Perl itself installs all of it's files under /usr/local - mostly in
/usr/local/lib/perl5 or in /usr/local/bin.  The 'use.perl' script
makes symbolic links so that '#!/usr/bin/perl' lines automatically
pick up the system default perl version. (Amongst other effects).

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--fUYQa+Pmc3FrFX/N
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAfSobdtESqEQa7a0RAootAJ0artbMoRSnwGn7dwRbEyx3GpWiHQCfd8cC
ED0ZLkEHpPcmWnxrhGrxiZA=
=PGKQ
-----END PGP SIGNATURE-----

--fUYQa+Pmc3FrFX/N--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040414121003.GA30945>