Date: Wed, 31 May 2017 09:02:11 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442144 - in head: Mk Mk/Uses accessibility/accerciser lang lang/perl5.26 Message-ID: <201705310902.v4V92BdY031706@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Wed May 31 09:02:11 2017 New Revision: 442144 URL: https://svnweb.freebsd.org/changeset/ports/442144 Log: Introduce Perl 5.26. A few important changes: - '.' is no longer in @INC. - "do" now gives a deprecation warning when it fails to load a file which it would have loaded had "." been in @INC. - In regular expression patterns, a literal left brace "{" should be escaped. Changes: https://metacpan.org/pod/release/XSAWYERX/perl-5.26.0/pod/perldelta.pod Sponsored by: Absolight Added: head/lang/perl5.26/ - copied from r442127, head/lang/perl5-devel/ Modified: head/Mk/Uses/perl5.mk head/Mk/bsd.default-versions.mk head/accessibility/accerciser/distinfo head/lang/Makefile head/lang/perl5.26/Makefile head/lang/perl5.26/distinfo head/lang/perl5.26/pkg-plist head/lang/perl5.26/version.mk Modified: head/Mk/Uses/perl5.mk ============================================================================== --- head/Mk/Uses/perl5.mk Wed May 31 09:01:12 2017 (r442143) +++ head/Mk/Uses/perl5.mk Wed May 31 09:02:11 2017 (r442144) @@ -57,6 +57,8 @@ THIS_IS_OLD_PERL= yes .include "${PORTSDIR}/lang/perl5.22/version.mk" . elif ${PERL5_DEFAULT} == 5.24 .include "${PORTSDIR}/lang/perl5.24/version.mk" +. elif ${PERL5_DEFAULT} == 5.26 +.include "${PORTSDIR}/lang/perl5.26/version.mk" . elif ${PERL5_DEFAULT} == devel .include "${PORTSDIR}/lang/perl5-devel/version.mk" # Force PERL_PORT here in case two identical PERL_VERSION. @@ -91,7 +93,9 @@ PERL_ARCH?= mach # perl5_default file, or up there in the default versions selection. # When adding a version, please keep the comment in # Mk/bsd.default-versions.mk in sync. -. if ${PERL_LEVEL} >= 502400 +. if ${PERL_LEVEL} >= 502600 +PERL_PORT?= perl5.26 +. elif ${PERL_LEVEL} >= 502400 PERL_PORT?= perl5.24 . elif ${PERL_LEVEL} >= 502200 PERL_PORT?= perl5.22 Modified: head/Mk/bsd.default-versions.mk ============================================================================== --- head/Mk/bsd.default-versions.mk Wed May 31 09:01:12 2017 (r442143) +++ head/Mk/bsd.default-versions.mk Wed May 31 09:02:11 2017 (r442144) @@ -56,7 +56,7 @@ WARNING+= "OVERRIDE_LINUX_BASE_PORT is deprecated, pl LUA_DEFAULT?= 5.2 # Possible values: 5.1, 5.5, 5.6, 5.7, 8.0, 5.5m, 10.0m, 10.1m, 5.5p, 5.6p, 5.7p, 5.6w MYSQL_DEFAULT?= 5.6 -# Possible values: 5.20, 5.22, 5.24, devel +# Possible values: 5.20, 5.22, 5.24, 5.26, devel .if !exists(${LOCALBASE}/bin/perl) || (!defined(_PORTS_ENV_CHECK) && \ defined(PACKAGE_BUILDING)) PERL5_DEFAULT?= 5.24 Modified: head/accessibility/accerciser/distinfo ============================================================================== --- head/accessibility/accerciser/distinfo Wed May 31 09:01:12 2017 (r442143) +++ head/accessibility/accerciser/distinfo Wed May 31 09:02:11 2017 (r442144) @@ -1,2 +1,3 @@ +TIMESTAMP = 1496181398 SHA256 (gnome3/accerciser-3.14.0.tar.xz) = f5a5915d475e9241396414ccd167724c88807e77e69151cf0b40b32bd57d0574 SIZE (gnome3/accerciser-3.14.0.tar.xz) = 3213916 Modified: head/lang/Makefile ============================================================================== --- head/lang/Makefile Wed May 31 09:01:12 2017 (r442143) +++ head/lang/Makefile Wed May 31 09:02:11 2017 (r442144) @@ -247,6 +247,7 @@ SUBDIR += perl5.20 SUBDIR += perl5.22 SUBDIR += perl5.24 + SUBDIR += perl5.26 SUBDIR += petite-chez SUBDIR += pfe SUBDIR += phantomjs Modified: head/lang/perl5.26/Makefile ============================================================================== --- head/lang/perl5-devel/Makefile Tue May 30 21:11:01 2017 (r442127) +++ head/lang/perl5.26/Makefile Wed May 31 09:02:11 2017 (r442144) @@ -2,20 +2,14 @@ # $FreeBSD$ PORTNAME= perl -# XXX Remove second line, uncomment first -#DISTVERSION= ${PERL_VERSION} -DISTVERSIONPREFIX= v -DISTVERSION= ${GH_TAGNAME:C/^v//:C/-g[0-9a-f]*$//} -DISTVERSIONSUFFIX= ${GH_TAGNAME:C/.*-g/-g/} +DISTVERSION= ${PERL_VERSION} PORTREVISION= 0 CATEGORIES= lang devel perl5 -# XXX Leave only CPAN. -MASTER_SITES= LOCAL/mat/perl GH -#MASTER_SITES= CPAN/../../src/5.0 +#MASTER_SITES= CPAN/../../src/5.0/ +MASTER_SITES= CPAN/../../authors/id/X/XS/XSAWYERX/ DIST_SUBDIR= perl -# XXX -> perl@ -MAINTAINER= mat@FreeBSD.org +MAINTAINER= perl@FreeBSD.org COMMENT= Practical Extraction and Report Language LICENSE= ART10 GPLv1 @@ -31,12 +25,6 @@ TEST_TARGET= test_harness TEST_ENV= ${MAKE_ENV} TEST_JOBS=${MAKE_JOBS_NUMBER} \ LD_LIBRARY_PATH=${WRKSRC} -# XXX Remove github things. -USE_GITHUB= yes -GH_ACCOUNT= Perl -GH_PROJECT= perl5 -GH_TAGNAME= v5.26.0-RC2-12-g433054b - OPTIONS_DEFINE= DEBUG GDBM PERL_64BITINT MULTIPLICITY SITECUSTOMIZE \ THREADS PERL_MALLOC DTRACE DOT_INC OPTIONS_DEFAULT= PERL_64BITINT THREADS MULTIPLICITY DTRACE @@ -77,8 +65,7 @@ PERL_MALLOC_CONFIGURE_ON= -Dusemymalloc=y PERL_MALLOC_CONFIGURE_OFF= -Dusemymalloc=n DOT_INC_CONFIGURE_ON= -Ddefault_inc_excludes_dot=n -# XXX uncomment PORTSCOUT line -#PORTSCOUT= limit:^${PERL_VER}. +PORTSCOUT= limit:^${PERL_VER}. .include "version.mk" PERL_VER?= ${PERL_VERSION:C/\.[0-9]+$//} @@ -96,16 +83,12 @@ SITE_MAN1?= ${PREFIX}/${SITE_MAN1_REL} _PRIV_LIB= lib/perl5/${PERL_VER} _ARCH_LIB= ${_PRIV_LIB}/${PERL_ARCH} -# XXX releases are .tar.xz, add: tar:xz -USES= cpe +USES= cpe tar:xz -# XXX replace all LIBPERL_VER occurences with PERL_VERSION -LIBPERL_VER= ${PORTVERSION:C/[^0-9.]//} - HAS_CONFIGURE= yes CONFIGURE_SCRIPT=Configure CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \ - -Dlibperl=libperl.so.${LIBPERL_VER} \ + -Dlibperl=libperl.so.${PERL_VERSION} \ -Darchlib=${PREFIX}/${_ARCH_LIB} \ -Dprivlib=${PREFIX}/${_PRIV_LIB} \ -Dman3dir=${PREFIX}/${PERLMANPREFIX_REL}/man/man3 \ @@ -121,17 +104,13 @@ CONFIGURE_ARGS= -sde -Dprefix=${PREFIX} \ # Keep the following two in sync. # lddlflags is used for all .so linking # shrpldflags is used for libperl.so, so remove all the extra bits inherited from lddlflags. -# XXX change the soname to $$(LIBPERL:R) CONFIGURE_ARGS+= \ -Alddlflags='-L${WRKSRC} -L${PREFIX}/${_ARCH_LIB}/CORE -lperl' \ - -Dshrpldflags='$$(LDDLFLAGS:N-L${WRKSRC}:N-L${PREFIX}/${_ARCH_LIB}/CORE:N-lperl) -Wl,-soname,$$(LIBPERL)' + -Dshrpldflags='$$(LDDLFLAGS:N-L${WRKSRC}:N-L${PREFIX}/${_ARCH_LIB}/CORE:N-lperl) -Wl,-soname,$$(LIBPERL:R)' # Give a hint of where libperl.so can be found. USE_LDCONFIG= ${PREFIX}/${_ARCH_LIB}/CORE -# XXX Remove -CONFIGURE_ARGS+= -Dusedevel -Uversiononly - CONFIGURE_ENV+= UNAME_v="$$(uname -v | sed 'y/=/ /')" SUB_LIST+= PERL_VERSION=${PERL_VERSION} \ @@ -181,8 +160,6 @@ PLIST_SUB+= PERL_VERSION=${PERL_VERSION} \ PRIV_LIB=${_PRIV_LIB} \ PKGNAMESUFFIX=${PKGNAMESUFFIX} \ ARCH_LIB=${_ARCH_LIB} -# XXX Remove and change to PERL_VERSION in the plist. -PLIST_SUB+= LIBPERL_VER=${LIBPERL_VER} _PERL5_DEFAULT_FILE= /tmp/PERL5_DEFAULT @@ -194,17 +171,13 @@ _PERL5_DEFAULT_FILE= /tmp/PERL5_DEFAULT # if this port is default due PERL5_DEFAULT # change PKGNAME to reflect this -.if ${PERL_VER} == ${PERL5_DEFAULT} || ${PERL5_DEFAULT} == devel # XXX Remove devel case +.if ${PERL_VER} == ${PERL5_DEFAULT} PKGNAMESUFFIX= 5 IAMDEFAULTPERL= yes .else # make PKGNAME unique among other lang/perl5.x -.if defined(GH_TAGNAME) # XXX remove if, leave only the else. -PKGNAMESUFFIX= 5-devel -.else PKGNAMESUFFIX= ${PERL_VER} .endif -.endif # Am I building the default Perl ? .if defined(IAMDEFAULTPERL) @@ -239,34 +212,14 @@ pre-everything:: . endif .endif -# XXX Remove this -pre-everything:: - @${ECHO_MSG} "########################################" - @${ECHO_MSG} "" - @${ECHO_MSG} "This is a DEVELOPER only version of Perl" - @${ECHO_MSG} "" - @${ECHO_MSG} " DO NOT USE IT" - @${ECHO_MSG} "" - @${ECHO_MSG} "" - @${ECHO_MSG} " Things ARE going to be broken with it" - @${ECHO_MSG} " and it WILL eat your data" - @${ECHO_MSG} "" - @${ECHO_MSG} " You have been warned !" - @${ECHO_MSG} "" - @${ECHO_MSG} "########################################" -# No need to make me, or the package builders, wait -.if !(defined(PACKAGE_BUILDING) || defined(PERL_DEV_SHUT_UP) || defined(BATCH)) - @sleep 30 -.endif - # Put a symlink to the future libperl.so.x.yy so that -lperl works. # Also, save PERL5_DEFAULT in case someone is not using the default Perl # version whilst not having set DEFAULT_VERSIONS=perl5=blah. While upgrading, # portmaster/portupgrade will remove the installed Perl version, and it will # remove any way to guess what the default Perl version is needed. post-extract: - ${LN} -s libperl.so.${LIBPERL_VER} ${WRKSRC}/libperl.so - ${LN} -s libperl.so.${LIBPERL_VER} ${WRKSRC}/libperl.so.${PERL_VER} + ${LN} -s libperl.so.${PERL_VERSION} ${WRKSRC}/libperl.so + ${LN} -s libperl.so.${PERL_VERSION} ${WRKSRC}/libperl.so.${PERL_VER} .if !defined(PACKAGE_BUILDING) @${ECHO_CMD} "PERL5_DEFAULT=${PERL5_DEFAULT}" > ${_PERL5_DEFAULT_FILE} .endif @@ -304,8 +257,8 @@ post-install: ${MKDIR} ${STAGEDIR}${SITE_ARCH}/auto ${MKDIR} ${STAGEDIR}${SITE_PERL}/auto ${LN} ${STAGEDIR}${PREFIX}/bin/perl${PERL_VERSION} ${STAGEDIR}${PREFIX}/bin/perl5 - ${LN} -sf libperl.so.${LIBPERL_VER} ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/CORE/libperl.so - ${LN} -sf libperl.so.${LIBPERL_VER} ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/CORE/libperl.so.${PERL_VER} + ${LN} -sf libperl.so.${PERL_VERSION} ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/CORE/libperl.so + ${LN} -sf libperl.so.${PERL_VERSION} ${STAGEDIR}${PREFIX}/${_ARCH_LIB}/CORE/libperl.so.${PERL_VER} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/perl${PERL_VERSION} ${MKDIR} ${STAGEDIR}${SITE_ARCH}/machine ${MKDIR} ${STAGEDIR}${SITE_ARCH}/sys Modified: head/lang/perl5.26/distinfo ============================================================================== --- head/lang/perl5-devel/distinfo Tue May 30 21:11:01 2017 (r442127) +++ head/lang/perl5.26/distinfo Wed May 31 09:02:11 2017 (r442144) @@ -1,3 +1,3 @@ -TIMESTAMP = 1496060061 -SHA256 (perl/Perl-perl5-v5.26.0-RC2-12-g433054b_GH0.tar.gz) = 400b62a74b6a892d8506218df3513af9643cecd1729ec2906b142a52de71d31d -SIZE (perl/Perl-perl5-v5.26.0-RC2-12-g433054b_GH0.tar.gz) = 18481754 +TIMESTAMP = 1496218881 +SHA256 (perl/perl-5.26.0.tar.xz) = 9bf2e3d0d72aad77865c3bdbc20d3b576d769c5c255c4ceb30fdb9335266bf55 +SIZE (perl/perl-5.26.0.tar.xz) = 11961692 Modified: head/lang/perl5.26/pkg-plist ============================================================================== --- head/lang/perl5-devel/pkg-plist Tue May 30 21:11:01 2017 (r442127) +++ head/lang/perl5.26/pkg-plist Wed May 31 09:02:11 2017 (r442144) @@ -709,7 +709,7 @@ etc/man.d/perl%%PKGNAMESUFFIX%%.conf %%ARCH_LIB%%/CORE/l1_char_class_tab.h %%ARCH_LIB%%/CORE/libperl.so %%ARCH_LIB%%/CORE/libperl.so.%%PERL_VER%% -%%ARCH_LIB%%/CORE/libperl.so.%%LIBPERL_VER%% +%%ARCH_LIB%%/CORE/libperl.so.%%PERL_VERSION%% %%ARCH_LIB%%/CORE/malloc_ctl.h %%ARCH_LIB%%/CORE/metaconfig.h %%ARCH_LIB%%/CORE/mg.h Modified: head/lang/perl5.26/version.mk ============================================================================== --- head/lang/perl5-devel/version.mk Tue May 30 21:11:01 2017 (r442127) +++ head/lang/perl5.26/version.mk Wed May 31 09:02:11 2017 (r442144) @@ -1,3 +1,2 @@ PERL_VERSION= 5.26.0 -PERL_VER= 5.25 -PERL5_DEPEND= perl5>=5.25<5.26 +PERL5_DEPEND= perl5>=5.26<5.27
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705310902.v4V92BdY031706>