diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2014-11-26 21:08:24 +0800 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2014-11-26 21:08:24 +0800 |
commit | eee58d187e2c55fca6f53b9e482d33cf5346fe81 (patch) | |
tree | 0d350fe6ad6a2fe3222d838f3c72856c78cd449f /net-mgmt/p5-SNMP-Info | |
parent | 3f1df82a16a1e89db9a69b36ade7342f34095ab4 (diff) | |
download | freebsd-ports-gnome-eee58d187e2c55fca6f53b9e482d33cf5346fe81.tar.gz freebsd-ports-gnome-eee58d187e2c55fca6f53b9e482d33cf5346fe81.tar.zst freebsd-ports-gnome-eee58d187e2c55fca6f53b9e482d33cf5346fe81.zip |
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
Diffstat (limited to 'net-mgmt/p5-SNMP-Info')
-rw-r--r-- | net-mgmt/p5-SNMP-Info/Makefile | 1 | ||||
-rw-r--r-- | net-mgmt/p5-SNMP-Info/pkg-plist | 9 |
2 files changed, 1 insertions, 9 deletions
diff --git a/net-mgmt/p5-SNMP-Info/Makefile b/net-mgmt/p5-SNMP-Info/Makefile index ba618dcc1521..07f14caf5324 100644 --- a/net-mgmt/p5-SNMP-Info/Makefile +++ b/net-mgmt/p5-SNMP-Info/Makefile @@ -3,6 +3,7 @@ PORTNAME= SNMP-Info PORTVERSION= 3.20 +PORTREVISION= 1 CATEGORIES= net-mgmt perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- diff --git a/net-mgmt/p5-SNMP-Info/pkg-plist b/net-mgmt/p5-SNMP-Info/pkg-plist index 95119309ecd2..72c4f015dbc9 100644 --- a/net-mgmt/p5-SNMP-Info/pkg-plist +++ b/net-mgmt/p5-SNMP-Info/pkg-plist @@ -106,7 +106,6 @@ %%SITE_PERL%%/SNMP/Info/SONMP.pm %%SITE_PERL%%/SNMP/Info/AMAP.pm %%SITE_PERL%%/SNMP/Info/MRO.pm -%%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP/Info/.packlist %%PERL5_MAN3%%/SNMP::Info.3.gz %%PERL5_MAN3%%/SNMP::Info::AMAP.3.gz %%PERL5_MAN3%%/SNMP::Info::AdslLine.3.gz @@ -215,11 +214,3 @@ %%PERL5_MAN3%%/SNMP::Info::PowerEthernet.3.gz %%PERL5_MAN3%%/SNMP::Info::RapidCity.3.gz %%PERL5_MAN3%%/SNMP::Info::SONMP.3.gz -@dirrm %%SITE_PERL%%/SNMP/Info/Layer7 -@dirrm %%SITE_PERL%%/SNMP/Info/Layer3 -@dirrm %%SITE_PERL%%/SNMP/Info/Layer2 -@dirrm %%SITE_PERL%%/SNMP/Info/Layer1 -@dirrm %%SITE_PERL%%/SNMP/Info -@dirrm %%SITE_PERL%%/SNMP -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP/Info -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/SNMP |