Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2000 14:24:55 -0400
From:      "Matthew Emmerton" <matt@gsicomp.on.ca>
To:        "Will Andrews" <will@physics.purdue.edu>, "David O'Brien" <obrien@FreeBSD.ORG>, "Mike Meyer" <mwm@mired.org>
Cc:        <ports@FreeBSD.ORG>
Subject:   Re: People running with LOCALBASE set to something other than /usr/local?
Message-ID:  <005f01c00d2f$7075b480$1200a8c0@matt>
References:  <14754.2222.927759.462718@guru.mired.org> <20000822084309.D38787@hamlet.nectar.com> <14755.26839.743103.399203@guru.mired.org> <20000823065243.A43477@hamlet.nectar.com> <39A3C568.32E686EC@dante.org.uk> <20000823074637.A42348@dragon.nuxi.com> <20000823095243.N8055@argon.gryphonsoft.com>

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

----- Original Message -----
From: "Will Andrews" <will@physics.purdue.edu>
To: "David O'Brien" <obrien@FreeBSD.ORG>
Cc: "FreeBSD Ports" <ports@FreeBSD.ORG>
Sent: Wednesday, August 23, 2000 10:52 AM
Subject: Re: People running with LOCALBASE set to something other than
/usr/local?


> [ moved to -ports ]
>
> On Wed, Aug 23, 2000 at 07:46:37AM -0700, David O'Brien wrote:
> > Yes, local stuff.  IMHO, the Ports Collection using /usr/local was the
> > biggest mistake of it.  The ports collection should have used /usr/pkg/
> > as NetBSD does.  I have to create /usr/truely-local on my FreeBSD
> > machines.
>
> So let's change the default?  It seems a sensible idea to me - only one
> question: what about X11BASE?

Let's not get into a big hurry to change this.  I'm on an off-list
discussion with Mike Meyer ( mwm@mired.org ) about this very issue [ he got
flamed by sobomax about reporting a problem with a port that depended on
/usr/local, which prompted us to go off-list to discuss ]

It would appear that many of the perl module ports *assume* that perl is in
/usr/local, and don't provide any path overrides to Makefile.PL when
generating the Makefiles used to build/install.  This results in most p5
stuff being forced into /usr/local regardless of what PREFIX (or LOCALBASE)
is set to.  A quick check shows that of the 176 p5-xxx ports, only 10
(!!!!!) support PREFIX.

If we are really are to reserve /usr/local for "truly local" stuff, and use
/usr/pkg for "packaged/ported" stuff, then we have to make sure that perl
gets retrained properly.  The perl ports all need to be updated to honour
PREFIX, as well as all the other paths that Perl's MakeMaker uses, as well
as perl itself (so that perl -V shows /usr/pkg in addition to /usr/local.)

As for X11BASE, why not use /usr/pkg/X11R6 and /usr/local/X11R6 for
package/port and truly-local X stuff? (I'm not a big X user so I'm unaware
of any problems this may cause.  Just a suggestion.)

Comments?

--
Matthew Emmerton
GSI Computer Services
+1 (800) 217-5409 (Canada)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005f01c00d2f$7075b480$1200a8c0>