From owner-freebsd-ports Wed Aug 23 11:25: 6 2000 Delivered-To: freebsd-ports@freebsd.org Received: from xena.gsicomp.on.ca (gsi.enoreo.on.ca [209.82.52.145]) by hub.freebsd.org (Postfix) with ESMTP id 1AD6237B424; Wed, 23 Aug 2000 11:25:01 -0700 (PDT) Received: from matt (cr677933-a.ktchnr1.on.wave.home.com [24.42.130.87]) by xena.gsicomp.on.ca (8.10.1/8.9.2) with SMTP id e7NIOuK05319; Wed, 23 Aug 2000 14:24:56 -0400 (EDT) (envelope-from matt@gsicomp.on.ca) Message-ID: <005f01c00d2f$7075b480$1200a8c0@matt> From: "Matthew Emmerton" To: "Will Andrews" , "David O'Brien" , "Mike Meyer" Cc: 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> Subject: Re: People running with LOCALBASE set to something other than /usr/local? Date: Wed, 23 Aug 2000 14:24:55 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org ----- Original Message ----- From: "Will Andrews" To: "David O'Brien" Cc: "FreeBSD Ports" 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