tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PERL5 vs perl5



So while creating a p5 pkg for wip, I noticed something that conflicted.

The correct way to specify the path to perl5 is to use:
${PERL5_SUB_INSTALLVENDOR(INC|BIN|LIB|MAN?DIR)}

Such as:
converters/p5-chkjis/PLIST:${PERL5_SUB_INSTALLVENDORLIB}/chkjis.pl
devel/p5-File-BaseDir/PLIST:${PERL5_SUB_INSTALLVENDORLIB}/File/ BaseDir.pm devel/p5-File-BaseDir/PLIST:${PERL5_SUB_INSTALLVENDORMAN3DIR}/ File::BaseDir.3

but some in wip are using what the pkg creation script emits, which is... wrong:

wip/p5-HTML-CalendarMonthSimple/PLIST:lib/perl5/vendor_perl/5.8.0/$ {MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi/auto/HTML/ CalendarMonthSimple/.packlist wip/p5-HTML-CalendarMonthSimple/PLIST:lib/perl5/vendor_perl/man/man3/ HTML::CalendarMonthSimple.3 wip/p5-HTML-CalendarMonthSimple/PLIST:@dirrm lib/perl5/vendor_perl/man/ man3 wip/p5-HTML-CalendarMonthSimple/PLIST:@dirrm lib/perl5/vendor_perl/ 5.8.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi/auto/HTML/ CalendarMonthSimple wip/p5-HTML-CalendarMonthSimple/PLIST:@dirrm lib/perl5/vendor_perl/ 5.8.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi/auto/HTML wip/p5-HTML-CalendarMonthSimple/PLIST:@dirrm lib/perl5/vendor_perl/ 5.8.0/${MACHINE_ARCH}-${LOWER_OPSYS}-thread-multi/auto wip/p5-HTML-CalendarMonthSimple/PLIST:@dirrm lib/perl5/vendor_perl/ 5.8.0/HTML
wip/p5-HTML-CalendarMonthSimple/PLIST:@dirrm lib/perl5/vendor_perl/5.8.0
wip/p5-Spread/PLIST:lib/perl5/vendor_perl/5.8.0/${MACHINE_ARCH}-$ {LOWER_OPSYS}-thread-multi/auto/Spread/.packlist wip/p5-Spread/PLIST:lib/perl5/vendor_perl/5.8.0/${MACHINE_ARCH}-$ {LOWER_OPSYS}-thread-multi/auto/Spread/Spread.bs wip/p5-Spread/PLIST:lib/perl5/vendor_perl/5.8.0/${MACHINE_ARCH}-$ {LOWER_OPSYS}-thread-multi/auto/Spread/Spread.so wip/p5-Spread/PLIST:lib/perl5/vendor_perl/5.8.0/${MACHINE_ARCH}-$ {LOWER_OPSYS}-thread-multi/auto/Spread/autosplit.ix
wip/p5-Spread/PLIST:lib/perl5/vendor_perl/man/man3/Spread.3
wip/p5-Spread/PLIST:@dirrm lib/perl5/vendor_perl/man/man3
wip/p5-Spread/PLIST:@dirrm lib/perl5/vendor_perl/5.8.0/${MACHINE_ARCH}- ${LOWER_OPSYS}-thread-multi/auto/Spread wip/p5-Spread/PLIST:@dirrm lib/perl5/vendor_perl/5.8.0/${MACHINE_ARCH}- ${LOWER_OPSYS}-thread-multi/auto wip/p5-Spread/PLIST:@dirrm lib/perl5/vendor_perl/5.8.0/${MACHINE_ARCH}- ${LOWER_OPSYS}-thread-multi wip/p5-Spread/PLIST:@dirrm lib/perl5/5.8.0/${MACHINE_ARCH}-$ {LOWER_OPSYS}-thread-multi


I found this out, because I'm on a machine that doesn't use -thread- multi:
This is perl, v5.8.8 built for darwin-thread-multi-2level

and was getting errors.  I'm also not understanding the:
PERL5_PACKLIST= auto/Module/Starter/PBP/.packlist

Does this replace PLIST altogether?

--
William J. Coldwell (Cryo)
Custodial Engineer
Warped Communications, Inc.
http://www.warped.com


Attachment: PGP.sig
Description: PGP signature



Home | Main Index | Thread Index | Old Index