From owner-freebsd-current Wed Jun 28 8: 6:45 2000 Delivered-To: freebsd-current@freebsd.org Received: from coredump.lovett.com (hub.lovett.com [216.60.121.161]) by hub.freebsd.org (Postfix) with ESMTP id A690237BA11; Wed, 28 Jun 2000 08:06:33 -0700 (PDT) (envelope-from ade@lovett.com) Received: from ade by coredump.lovett.com with local (Exim 3.14 #1) id 137JQA-000JUP-00; Wed, 28 Jun 2000 10:06:34 -0500 Date: Wed, 28 Jun 2000 10:06:34 -0500 From: Ade Lovett To: ports@FreeBSD.org, current@FreeBSD.org Subject: Re: perl5 ports and perl5.006 Message-ID: <20000628100634.A74843@FreeBSD.org> References: <20000627190539.C3994@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000627190539.C3994@FreeBSD.org>; from ade@FreeBSD.org on Tue, Jun 27, 2000 at 07:05:39PM -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jun 27, 2000 at 07:05:39PM -0500, Ade Lovett wrote: > Take a perl5 port at random.. I chose converters/p5-Convert-UU > I had to make the following (kludgy) hack to the PLIST to make > things package properly: > > Index: PLIST > =================================================================== > RCS file: /home/src/FreeBSD/ports/converters/p5-Convert-UU/pkg/PLIST,v > retrieving revision 1.6 > diff -u -r1.6 PLIST > --- PLIST 1999/01/11 15:33:32 1.6 > +++ PLIST 2000/06/27 23:54:22 > @@ -1,5 +1,5 @@ > bin/puudecode > bin/puuencode > lib/perl5/site_perl/%%PERL_VER%%/Convert/UU.pm > -lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Convert/UU/.packlist > -@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Convert/UU > +lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Convert/UU/.packlist > +@dirrm lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Convert/UU > > Notice how things appear to be being installed in a mach/ subdirectory, > as opposed to the previous {i386,alpha}-freebsd/ subdirectories. Bingo! Found the problem. Comparing src/gnu/usr.bin/perl/libperl/config.SH-elf.i386 between -STABLE and -CURRENT we find: (-CURRENT) installsitearch='/usr/local/lib/perl5/site_perl/5.006/mach' (-STABLE) installsitearch='/usr/local/lib/perl5/site_perl/5.005/i386-freebsd' This is what's causing the port PLISTs to malfunction.. -current needs to be fixed appropriately, replacing 'mach' with '{i386,alpha}-freebsd' as appropriate. It also affects the threaded config file in the same directory. No idea on the exact fix.. The perl mangling seems to be "interesting" to say the least :) Perhaps this will give Mark the ammo he needs to fix it. That, and the patch to bsd.port.mk I gave should fix the perl transition problem for ports. -aDe -- Ade Lovett, Austin, TX. ade@FreeBSD.org FreeBSD: The Power to Serve http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message