Date: Wed, 28 Jun 2000 10:06:34 -0500 From: Ade Lovett <ade@FreeBSD.org> To: ports@FreeBSD.org, current@FreeBSD.org Subject: Re: perl5 ports and perl5.006 Message-ID: <20000628100634.A74843@FreeBSD.org> In-Reply-To: <20000627190539.C3994@FreeBSD.org>; from ade@FreeBSD.org on Tue, Jun 27, 2000 at 07:05:39PM -0500 References: <20000627190539.C3994@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000628100634.A74843>