diff options
author | mat <mat@FreeBSD.org> | 2015-05-26 20:10:11 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2015-05-26 20:10:11 +0800 |
commit | 4785c96c5a951961b907177ef2bf1fc24fdf8e7c (patch) | |
tree | b8a3ee6585e800622beb0328d04c928e043c092e /lang/perl5-devel | |
parent | 301d0a1aeb160eee76d3f8c12c5f1ae5c536fe57 (diff) | |
download | freebsd-ports-gnome-4785c96c5a951961b907177ef2bf1fc24fdf8e7c.tar.gz freebsd-ports-gnome-4785c96c5a951961b907177ef2bf1fc24fdf8e7c.tar.zst freebsd-ports-gnome-4785c96c5a951961b907177ef2bf1fc24fdf8e7c.zip |
Update to v5.22.0-RC2-1-gdfd03a6.
Cleanup a bit the PKGNAMESUFFIX calculation.
Also force the PERL_PORT variable for the -devel one, in case there is more
than one with the same version.
Changes: https://github.com/Perl/perl5/compare/v5.22.0-RC1...v5.22.0-RC2-1-gdfd03a6
Sponsored by: Absolight
Diffstat (limited to 'lang/perl5-devel')
-rw-r--r-- | lang/perl5-devel/Makefile | 13 | ||||
-rw-r--r-- | lang/perl5-devel/distinfo | 4 |
2 files changed, 12 insertions, 5 deletions
diff --git a/lang/perl5-devel/Makefile b/lang/perl5-devel/Makefile index 897711555708..f1b1874f8c36 100644 --- a/lang/perl5-devel/Makefile +++ b/lang/perl5-devel/Makefile @@ -27,7 +27,7 @@ CONFLICTS_INSTALL= perl5.*-* USE_GITHUB= yes GH_ACCOUNT= Perl GH_PROJECT= perl5 -GH_TAGNAME= v5.22.0-RC1 +GH_TAGNAME= v5.22.0-RC2-1-gdfd03a6 OPTIONS_DEFINE= DEBUG GDBM PERL_64BITINT PTHREAD \ MULTIPLICITY SITECUSTOMIZE @@ -163,11 +163,15 @@ PLIST_SUB+= PERL_VERSION=${PERL_VERSION} \ # if this port is default due PERL5_DEFAULT # change PKGNAME to reflect this -.if ${PERL_VER} == ${PERL5_DEFAULT} -PKGNAMESUFFIX= ${PERL_VERSION:C/\.[0-9]+\.[0-9]+$//} +.if ${PERL_VER} == ${PERL5_DEFAULT} || ${PERL5_DEFAULT} == devel # XXX +PKGNAMESUFFIX= 5 .else # make PKGNAME unique among other lang/perl5.x +.if defined(GH_TAGNAME) # XXX +PKGNAMESUFFIX= 5-devel +.else PKGNAMESUFFIX= ${PERL_VER} +.endif # always add default perl5 pkgname to conflicts CONFLICTS_INSTALL+= perl5-* .endif @@ -232,6 +236,9 @@ post-install: ${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} + # XXX Force PERL_PORT in case the devel has the same version as the + # latest release + ${ECHO_CMD} "PERL_PORT= perl5-devel" >> ${WRKDIR}/perl5_version ${INSTALL_DATA} ${WRKDIR}/perl5_version ${STAGEDIR}${PREFIX}/etc ${MKDIR} ${STAGEDIR}${SITE_ARCH}/machine ${MKDIR} ${STAGEDIR}${SITE_ARCH}/sys diff --git a/lang/perl5-devel/distinfo b/lang/perl5-devel/distinfo index 9e1e0af736ab..c7c3d593314d 100644 --- a/lang/perl5-devel/distinfo +++ b/lang/perl5-devel/distinfo @@ -1,2 +1,2 @@ -SHA256 (perl/perl-5.22.0-RC1_GH0.tar.gz) = 318cc6616bd740c703ebd43e17da6c6cf1cbdb3701d2efb832d37d1e908ce517 -SIZE (perl/perl-5.22.0-RC1_GH0.tar.gz) = 17441498 +SHA256 (perl/perl-5.22.0-RC2-1_GH0.tar.gz) = 0570ad3a5f5e53cc309210eceb4d9719ef2f0fd4800e958ce5166bfc63e7a028 +SIZE (perl/perl-5.22.0-RC2-1_GH0.tar.gz) = 17416825 |