From eee58d187e2c55fca6f53b9e482d33cf5346fe81 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Wed, 26 Nov 2014 13:08:24 +0000 Subject: Change the way Perl modules are installed, update the default Perl to 5.18. Before, we had: site_perl : lib/perl5/site_perl/5.18 site_perl/perl_arch : lib/perl5/site_perl/5.18/mach perl_man3 : lib/perl5/5.18/man/man3 Now we have: site_perl : lib/perl5/site_perl site_arch : lib/perl5/site_perl/mach/5.18 perl_man3 : lib/perl5/site_perl/man/man3 Modules without any .so will be installed at the same place regardless of the Perl version, minimizing the upgrade when the major Perl version is changed. It uses a version dependent directory for modules with compiled bits. As PERL_ARCH is no longer needed in plists, it has been removed from PLIST_SUB. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now always removed, as is perllocal.pod. The old site_perl and site_perl/arch directories have been kept in the default Perl @INC for all Perl ports, and will be phased out as these old Perl versions expire. PR: 194969 Differential Revision: https://reviews.freebsd.org/D1019 Exp-run by: antoine Reviewed by: perl@ Approved by: portmgr --- www/p5-Apache-DB/Makefile | 2 +- www/p5-Apache-DB/pkg-plist | 14 +++++--------- 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'www/p5-Apache-DB') diff --git a/www/p5-Apache-DB/Makefile b/www/p5-Apache-DB/Makefile index 120bee771fac..58d071ebb246 100644 --- a/www/p5-Apache-DB/Makefile +++ b/www/p5-Apache-DB/Makefile @@ -3,7 +3,7 @@ PORTNAME= Apache-DB PORTVERSION= 0.14 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- diff --git a/www/p5-Apache-DB/pkg-plist b/www/p5-Apache-DB/pkg-plist index 4c0c33a7802e..74ee87bd9128 100644 --- a/www/p5-Apache-DB/pkg-plist +++ b/www/p5-Apache-DB/pkg-plist @@ -2,12 +2,8 @@ %%PERL5_MAN3%%/Apache::DProf.3.gz %%PERL5_MAN3%%/Apache::SmallProf.3.gz %%PERL5_MAN3%%/Apache::perl5db.3.gz -%%SITE_PERL%%/%%PERL_ARCH%%/Apache/DB.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Apache/DProf.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Apache/SmallProf.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Apache/perl5db.pl -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/DB/.packlist -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/DB/DB.so -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache/DB -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Apache -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Apache +%%SITE_ARCH%%/Apache/DB.pm +%%SITE_ARCH%%/Apache/DProf.pm +%%SITE_ARCH%%/Apache/SmallProf.pm +%%SITE_ARCH%%/Apache/perl5db.pl +%%SITE_ARCH%%/auto/Apache/DB/DB.so -- cgit v1.2.3