This page references how to migrate to new USES=perl5
Before |
After |
PERL_CONFIGURE=yes |
USES=perl5 |
USE_PERL5_RUN=yes |
USES=perl5 |
USE_PERL5_BUILD=yes |
USES=perl5 |
USE_PERL5=yes |
USES=perl5 |
PERL_MODBUILD=yes |
USES=perl5 |
Depending on lang/perl as patch/extract dependency (in pre-extract, extract, post-extract and pre-patch, patch, post-patch targets):
Before |
After |
USE_PERL5=yes |
USES=perl5 |
USE_PERL5=yes |
USES=perl5 |
Depending on a specific version of perl
Before |
After |
USE_PERL5=5.14+ |
USES=perl5 |
PERL_CONFIGURE= 5.14+ |
USES=perl5 |
PERL_MODBUILD= 5.14+ |
USES=perl5 |
USE_PERL5 will accept all combinaison of the pervious args: For example to depend on perl 5.14 and above just for patching and running:
USE_PERL5= 5.14+ patch run
Handling manpages inside the perl path (useful when software install their own man pages to MANPREFIX and also install some pages into perl's location)
Before |
After |
Manual showing |
P5MAN{1,2,3,4,5,6,7,8}= mypage.{1,2,3,4,5,6,7,8} |