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:



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 Lovett, Austin, TX.                 [EMAIL PROTECTED]
FreeBSD: The Power to Serve             http://www.FreeBSD.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to