1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Introduce Perl 5.16.0

Changes:	http://search.cpan.org/dist/perl-5.16.0/pod/perldelta.pod
Approved by:	portmgr (linimon)
This commit is contained in:
Sergey Skvortsov 2012-06-30 21:00:43 +00:00
parent 7208355bce
commit 3533830550
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=300289
13 changed files with 711 additions and 818 deletions

View File

@ -44,7 +44,7 @@
Perl_Pre_Include= bsd.perl.mk
PERL_Include_MAINTAINER= perl@FreeBSD.org
PERL_VERSION?= 5.12.4
PERL_VERSION?= 5.14.2
.if !defined(PERL_LEVEL) && defined(PERL_VERSION)
perl_major= ${PERL_VERSION:C|^([1-9]+).*|\1|}
@ -66,7 +66,9 @@ PERL_ARCH?= mach
# there must always be a default to prevent dependency failures such
# as "ports/lang: not found"
.if ${PERL_LEVEL} >= 501400
.if ${PERL_LEVEL} >= 501600
PERL_PORT?= perl5.16
.elif ${PERL_LEVEL} >= 501400
PERL_PORT?= perl5.14
.elif ${PERL_LEVEL} >= 501200
PERL_PORT?= perl5.12
@ -118,7 +120,7 @@ masked_PERL_LEVEL= ${PERL_LEVEL}
.if ${want_perl_sign} == "+"
.if ${USE_PERL5_LEVEL} > ${masked_PERL_LEVEL}
USE_PERL5_REASON?= requires Perl ${want_perl_ver} or later, install lang/perl5.8, lang/perl5.10, lang/perl5.12 or lang/perl5.14 and try again
USE_PERL5_REASON?= requires Perl ${want_perl_ver} or later, install lang/perl${want_perl_major}.${want_perl_minor:C|^0||} and try again
IGNORE= ${USE_PERL5_REASON}
.endif # ${USE_PERL5_LEVEL} > ${masked_PERL_LEVEL}
.elif ${want_perl_sign} == ""

View File

@ -5,6 +5,35 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
201206230:
AFFECTS: users of lang/perl*
AUTHOR: skv@FreeBSD.org
lang/perl5.16 is out. If you want to switch to it from, for example
lang/perl5.12, that is:
Portupgrade users:
0) Fix pkgdb.db (for safety):
pkgdb -Ff
1) Reinstall new version of Perl (5.16):
env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.16 -f perl-5.12.\*
2) Reinstall everything that depends on Perl:
portupgrade -fr perl
Portmaster users:
portmaster -o lang/perl5.16 lang/perl5.12
Conservative:
portmaster p5-
Comprehensive (but perhaps overkill):
portmaster -r perl-
Note: If the "perl-" glob matches more than one port you will need to
specify the name of the Perl directory in /var/db/pkg explicitly.
20120623:
AFFECTS: users of sysutils/xfce4-utils
AUTHOR: xfce@FreeBSD.org

View File

@ -241,6 +241,7 @@
SUBDIR += perl5.10
SUBDIR += perl5.12
SUBDIR += perl5.14
SUBDIR += perl5.16
SUBDIR += perl5.8
SUBDIR += petite-chez
SUBDIR += pfe

View File

@ -26,7 +26,8 @@ LICENSE_COMB= dual
CONFLICTS= perl-5.6.* perl-5.8.* perl-threaded-5.8.* \
perl-5.12.* perl-threaded-5.12.* \
perl-5.14.* perl-threaded-5.14.*
perl-5.14.* perl-threaded-5.14.* \
perl-5.16.* perl-threaded-5.16.*
MAKE_JOBS_UNSAFE= yes
OPTIONS= DEBUGGING "Build with debugging support" off \

View File

@ -26,7 +26,8 @@ LICENSE_COMB= dual
CONFLICTS= perl-5.6.* perl-5.8.* perl-threaded-5.8.* \
perl-5.10.* perl-threaded-5.10.* \
perl-5.14.* perl-threaded-5.14.*
perl-5.14.* perl-threaded-5.14.* \
perl-5.16.* perl-threaded-5.16.*
OPTIONS= DEBUGGING "Build with debugging support" off \
GDBM "Build GDBM_File extension" off \
@ -151,7 +152,7 @@ LINK_USRBIN= yes
LINK_USRBIN= no
.endif
LATEST_LINK= perl
NO_LATEST_LINK= yes
.if defined(WITH_GDBM)
MAN3+= GDBM_File.3

View File

@ -151,7 +151,7 @@ LINK_USRBIN= yes
LINK_USRBIN= no
.endif
NO_LATEST_LINK= yes
LATEST_LINK= perl
.if defined(WITH_GDBM)
MAN3+= GDBM_File.3

View File

@ -7,7 +7,6 @@
PORTNAME= perl
PORTVERSION= ${PERL_VERSION}
PORTREVISION= 2
CATEGORIES= lang devel perl5
MASTER_SITES= CPAN \
${MASTER_SITE_LOCAL:S/$/:local/} \
@ -26,7 +25,8 @@ LICENSE_COMB= dual
CONFLICTS= perl-5.6.* perl-5.8.* perl-threaded-5.8.* \
perl-5.10.* perl-threaded-5.10.* \
perl-5.12.* perl-threaded-5.12.*
perl-5.12.* perl-threaded-5.12.* \
perl-5.14.* perl-threaded-5.14.*
OPTIONS= DEBUGGING "Build with debugging support" off \
GDBM "Build GDBM_File extension" off \
@ -40,7 +40,7 @@ OPTIONS= DEBUGGING "Build with debugging support" off \
PORTSCOUT= limitw:1,even
PERL_VERSION= 5.14.2
PERL_VERSION= 5.16.0
PERL_ARCH= mach
SITE_PERL_REL?= lib/perl5/site_perl/${PERL_VERSION}
SITE_PERL?= ${LOCALBASE}/${SITE_PERL_REL}
@ -186,7 +186,7 @@ post-patch:
> ${WRKDIR}/perl-after-upgrade
${CP} ${WRKDIR}/use.perl ${PKGINSTALL}
${CP} ${WRKDIR}/use.perl ${PKGDEINSTALL}
${SED} -i '' -e 's|%%PERL_PKGNAME%%|${PKGNAME}|g; s|%%PERL_VER%%|5.14|g;' \
${SED} -i '' -e 's|%%PERL_PKGNAME%%|${PKGNAME}|g; s|%%PERL_VER%%|5.16|g;' \
-e 's!%%BSDPAN_VERSION%%!${BSDPAN_VERSION}!g;' \
${BSDPAN_WRKSRC}/ExtUtils/*.pm
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \

View File

@ -7,7 +7,6 @@ MAN1+= corelist.1
MAN1+= cpan.1
MAN1+= cpan2dist.1
MAN1+= cpanp.1
MAN1+= dprofpp.1
MAN1+= enc2xs.1
MAN1+= find2perl.1
MAN1+= h2ph.1
@ -21,37 +20,17 @@ MAN1+= perl5004delta.1
MAN1+= perl5005delta.1
MAN1+= perl5100delta.1
MAN1+= perl5101delta.1
MAN1+= perl5110delta.1
MAN1+= perl5111delta.1
MAN1+= perl5112delta.1
MAN1+= perl5113delta.1
MAN1+= perl5114delta.1
MAN1+= perl5115delta.1
MAN1+= perl5120delta.1
MAN1+= perl5121delta.1
MAN1+= perl5122delta.1
MAN1+= perl5123delta.1
MAN1+= perl5130delta.1
MAN1+= perl51310delta.1
MAN1+= perl51311delta.1
MAN1+= perl5131delta.1
MAN1+= perl5132delta.1
MAN1+= perl5133delta.1
MAN1+= perl5134delta.1
MAN1+= perl5135delta.1
MAN1+= perl5136delta.1
MAN1+= perl5137delta.1
MAN1+= perl5138delta.1
MAN1+= perl5139delta.1
MAN1+= perl5124delta.1
MAN1+= perl5140delta.1
MAN1+= perl5141delta.1
MAN1+= perl5142delta.1
MAN1+= perl5160delta.1
MAN1+= perl561delta.1
MAN1+= perl56delta.1
MAN1+= perl570delta.1
MAN1+= perl571delta.1
MAN1+= perl572delta.1
MAN1+= perl573delta.1
MAN1+= perl581delta.1
MAN1+= perl582delta.1
MAN1+= perl583delta.1
@ -62,12 +41,6 @@ MAN1+= perl587delta.1
MAN1+= perl588delta.1
MAN1+= perl589delta.1
MAN1+= perl58delta.1
MAN1+= perl590delta.1
MAN1+= perl591delta.1
MAN1+= perl592delta.1
MAN1+= perl593delta.1
MAN1+= perl594delta.1
MAN1+= perl595delta.1
MAN1+= perlaix.1
MAN1+= perlamiga.1
MAN1+= perlapi.1
@ -85,7 +58,6 @@ MAN1+= perlcheat.1
MAN1+= perlclib.1
MAN1+= perlcn.1
MAN1+= perlcommunity.1
MAN1+= perlcompile.1
MAN1+= perlcygwin.1
MAN1+= perldata.1
MAN1+= perldbmfilter.1
@ -98,9 +70,11 @@ MAN1+= perldiag.1
MAN1+= perldoc.1
MAN1+= perldos.1
MAN1+= perldsc.1
MAN1+= perldtrace.1
MAN1+= perlebcdic.1
MAN1+= perlembed.1
MAN1+= perlepoc.1
MAN1+= perlexperiment.1
MAN1+= perlfaq.1
MAN1+= perlfaq1.1
MAN1+= perlfaq2.1
@ -152,6 +126,7 @@ MAN1+= perlnetware.1
MAN1+= perlnewmod.1
MAN1+= perlnumber.1
MAN1+= perlobj.1
MAN1+= perlootut.1
MAN1+= perlop.1
MAN1+= perlopenbsd.1
MAN1+= perlopentut.1
@ -211,6 +186,7 @@ MAN1+= perlvos.1
MAN1+= perlwin32.1
MAN1+= perlxs.1
MAN1+= perlxstut.1
MAN1+= perlxstypemap.1
MAN1+= piconv.1
MAN1+= pl2pm.1
MAN1+= pod2html.1
@ -230,6 +206,7 @@ MAN1+= s2p.1
MAN1+= shasum.1
MAN1+= splain.1
MAN1+= xsubpp.1
MAN1+= zipdetails.1
MAN3+= AnyDBM_File.3
MAN3+= App::Cpan.3
@ -275,9 +252,11 @@ MAN3+= CPAN::Meta::Converter.3
MAN3+= CPAN::Meta::Feature.3
MAN3+= CPAN::Meta::History.3
MAN3+= CPAN::Meta::Prereqs.3
MAN3+= CPAN::Meta::Requirements.3
MAN3+= CPAN::Meta::Spec.3
MAN3+= CPAN::Meta::Validator.3
MAN3+= CPAN::Meta::YAML.3
MAN3+= CPAN::Mirrors.3
MAN3+= CPAN::Nox.3
MAN3+= CPAN::Queue.3
MAN3+= CPAN::Tarzip.3
@ -336,7 +315,6 @@ MAN3+= DBM_Filter::null.3
MAN3+= DBM_Filter::utf8.3
MAN3+= DB_File.3
MAN3+= Data::Dumper.3
MAN3+= Devel::DProf.3
MAN3+= Devel::InnerPackage.3
MAN3+= Devel::PPPort.3
MAN3+= Devel::Peek.3
@ -413,13 +391,19 @@ MAN3+= ExtUtils::MakeMaker.3
MAN3+= ExtUtils::MakeMaker::Config.3
MAN3+= ExtUtils::MakeMaker::FAQ.3
MAN3+= ExtUtils::MakeMaker::Tutorial.3
MAN3+= ExtUtils::MakeMaker::YAML.3
MAN3+= ExtUtils::Manifest.3
MAN3+= ExtUtils::Miniperl.3
MAN3+= ExtUtils::Mkbootstrap.3
MAN3+= ExtUtils::Mksymlists.3
MAN3+= ExtUtils::Packlist.3
MAN3+= ExtUtils::ParseXS.3
MAN3+= ExtUtils::ParseXS::Constants.3
MAN3+= ExtUtils::ParseXS::Utilities.3
MAN3+= ExtUtils::Typemaps.3
MAN3+= ExtUtils::Typemaps::Cmd.3
MAN3+= ExtUtils::Typemaps::InputMap.3
MAN3+= ExtUtils::Typemaps::OutputMap.3
MAN3+= ExtUtils::Typemaps::Type.3
MAN3+= ExtUtils::XSSymSet.3
MAN3+= ExtUtils::testlib.3
MAN3+= Fatal.3
@ -464,6 +448,7 @@ MAN3+= IO.3
MAN3+= IO::Compress::Base.3
MAN3+= IO::Compress::Bzip2.3
MAN3+= IO::Compress::Deflate.3
MAN3+= IO::Compress::FAQ.3
MAN3+= IO::Compress::Gzip.3
MAN3+= IO::Compress::RawDeflate.3
MAN3+= IO::Compress::Zip.3
@ -498,12 +483,30 @@ MAN3+= JSON::PP::Boolean.3
MAN3+= List::Util.3
MAN3+= List::Util::XS.3
MAN3+= Locale::Codes.3
MAN3+= Locale::Codes::API.3
MAN3+= Locale::Codes::Changes.3
MAN3+= Locale::Codes::Constants.3
MAN3+= Locale::Codes::Country.3
MAN3+= Locale::Codes::Country_Codes.3
MAN3+= Locale::Codes::Country_Retired.3
MAN3+= Locale::Codes::Currency.3
MAN3+= Locale::Codes::Currency_Codes.3
MAN3+= Locale::Codes::Currency_Retired.3
MAN3+= Locale::Codes::LangExt.3
MAN3+= Locale::Codes::LangExt_Codes.3
MAN3+= Locale::Codes::LangExt_Retired.3
MAN3+= Locale::Codes::LangFam.3
MAN3+= Locale::Codes::LangFam_Codes.3
MAN3+= Locale::Codes::LangFam_Retired.3
MAN3+= Locale::Codes::LangVar.3
MAN3+= Locale::Codes::LangVar_Codes.3
MAN3+= Locale::Codes::LangVar_Retired.3
MAN3+= Locale::Codes::Language.3
MAN3+= Locale::Codes::Language_Codes.3
MAN3+= Locale::Codes::Language_Retired.3
MAN3+= Locale::Codes::Script.3
MAN3+= Locale::Constants.3
MAN3+= Locale::Codes::Script_Codes.3
MAN3+= Locale::Codes::Script_Retired.3
MAN3+= Locale::Country.3
MAN3+= Locale::Currency.3
MAN3+= Locale::Language.3
@ -598,6 +601,7 @@ MAN3+= Parse::CPAN::Meta.3
MAN3+= Perl::OSType.3
MAN3+= PerlIO.3
MAN3+= PerlIO::encoding.3
MAN3+= PerlIO::mmap.3
MAN3+= PerlIO::scalar.3
MAN3+= PerlIO::via.3
MAN3+= PerlIO::via::QuotedPrint.3
@ -614,11 +618,13 @@ MAN3+= Pod::Parser.3
MAN3+= Pod::Perldoc.3
MAN3+= Pod::Perldoc::BaseTo.3
MAN3+= Pod::Perldoc::GetOptsOO.3
MAN3+= Pod::Perldoc::ToANSI.3
MAN3+= Pod::Perldoc::ToChecker.3
MAN3+= Pod::Perldoc::ToMan.3
MAN3+= Pod::Perldoc::ToNroff.3
MAN3+= Pod::Perldoc::ToPod.3
MAN3+= Pod::Perldoc::ToRtf.3
MAN3+= Pod::Perldoc::ToTerm.3
MAN3+= Pod::Perldoc::ToText.3
MAN3+= Pod::Perldoc::ToTk.3
MAN3+= Pod::Perldoc::ToXml.3
@ -657,7 +663,6 @@ MAN3+= Scalar::Util.3
MAN3+= Search::Dict.3
MAN3+= SelectSaver.3
MAN3+= SelfLoader.3
MAN3+= Shell.3
MAN3+= Socket.3
MAN3+= Storable.3
MAN3+= Symbol.3
@ -762,8 +767,8 @@ MAN3+= Unicode::UCD.3
MAN3+= User::grent.3
MAN3+= User::pwent.3
MAN3+= Version::Requirements.3
MAN3+= XS::Typemap.3
MAN3+= XSLoader.3
MAN3+= arybase.3
MAN3+= attributes.3
MAN3+= autodie.3
MAN3+= autodie::exception.3

View File

@ -1,4 +1,4 @@
SHA256 (perl/perl-5.14.2.tar.bz2) = c2a2362e8d1fdd2bfbfde801fcd78241f154c164f00fba76065ab8cc5c7b06cd
SIZE (perl/perl-5.14.2.tar.bz2) = 13226972
SHA256 (perl/perl-5.16.0.tar.bz2) = 8c1d25e92a5760e84f77baa57fde5606fd6e95ec992408d36fa53c47162721d1
SIZE (perl/perl-5.16.0.tar.bz2) = 13568573
SHA256 (perl/BSDPAN-20111107.tar.bz2) = 2f03218a592dc65ebfdc3c6b9394d91dcf4c53aa5290a08458b837baad5a21f9
SIZE (perl/BSDPAN-20111107.tar.bz2) = 8448

View File

@ -1,11 +0,0 @@
--- ./cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm.orig 2012-03-07 04:45:16.252747795 +0000
+++ ./cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm 2012-03-07 04:46:18.391746557 +0000
@@ -401,6 +401,8 @@
my($class,$self) = @_;
my($key);
+ _convert_compat_attrs($self) if defined $self && $self;
+
# Store the original args passed to WriteMakefile()
foreach my $k (keys %$self) {
$self->{ARGS}{$k} = $self->{$k};

View File

@ -1,30 +0,0 @@
--- hints/freebsd.sh.orig2 2011-10-09 13:30:37.000000000 +0000
+++ hints/freebsd.sh 2011-10-09 14:12:48.000000000 +0000
@@ -116,7 +116,8 @@
case "$osvers" in
0.*|1.0*) ;;
-1*|2*) cccdlflags='-DPIC -fpic'
+1.*|2.*)
+ cccdlflags='-DPIC -fpic'
lddlflags="-Bshareable $lddlflags"
;;
@@ -139,7 +140,7 @@
esac
case "$osvers" in
-0*|1*|2*|3*) ;;
+0.*|1.*|2.*|3.*) ;;
*)
ccflags="${ccflags} -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H"
@@ -196,7 +197,7 @@
$define|true|[yY]*)
lc_r=`/sbin/ldconfig -r|grep ':-lc_r'|awk '{print $NF}'|sed -n '$p'`
case "$osvers" in
- 0*|1*|2.0*|2.1*) cat <<EOM >&4
+ 0.*|1.*|2.0*|2.1*) cat <<EOM >&4
I did not know that FreeBSD $osvers supports POSIX threads.
Feel free to tell perlbug@perl.org otherwise.

File diff suppressed because it is too large Load Diff

View File

@ -30,7 +30,8 @@ LICENSE_COMB= dual
CONFLICTS= perl-5.6.* perl-5.10.* perl-threaded-5.10.* \
perl-5.12.* perl-threaded-5.12.* \
perl-5.14.* perl-threaded-5.14.*
perl-5.14.* perl-threaded-5.14.* \
perl-5.16.* perl-threaded-5.16.*
OPTIONS= DEBUGGING "Build with debugging support" off \
GDBM "Build GDBM_File extension" off \