pkgsrc/lang/perl5/buildlink3.mk
he 42c3ea8314 Update perl to version 5.24.0.
Pkgsrc changes:
 * Add candidate fix from https://rt.cpan.org/Public/Bug/Display.html?id=72467
 * Remove patches which have been integrated upstream
 * Rename and re-mould some patches which required adjustments

http://perlnews.org/2016/05/perl-5-24-released/ has pointer to
more details and says:

May 9 2016
Perl 5.24.0 has been released.

You can read about the changes which include:

    Postfix dereferencing is no longer experimental
    Unicode 8.0 is now supported
    The autoderef feature has been removed

Perl 5.24.0 represents approximately 11 months of development since
Perl 5.22.0 and contains approximately 360,000 lines of changes
across 1,800 files from 77 authors.
2016-06-08 17:39:30 +00:00

45 lines
1.2 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.59 2016/06/08 17:39:30 he Exp $
BUILDLINK_TREE+= perl
.if !defined(PERL_BUILDLINK3_MK)
PERL_BUILDLINK3_MK:=
.include "../../mk/bsd.fast.prefs.mk"
PERL5_REQD+= 5.24.0
.for _perl5_ver_ in ${PERL5_REQD}
BUILDLINK_API_DEPENDS.perl+= perl>=${_perl5_ver_}
.endfor
# Prevent p5-* etc. packages built for 5.24.0 to be used
# with the next incompatible version of perl:
BUILDLINK_API_DEPENDS.perl+= perl<5.26.0
BUILDLINK_PKGSRCDIR.perl?= ../../lang/perl5
_TOOLS_USE_PKGSRC.perl= yes
PERL5= ${LOCALBASE}/bin/perl
pkgbase := perl
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.perl:Mthreads)
. include "../../mk/pthread.buildlink3.mk"
.endif
PERL5_OPTIONS?= # empty
.if !empty(PERL5_OPTIONS:Mthreads)
INSTALL_TEMPLATES+= ${.CURDIR}/../../lang/perl5/files/install_threads.tmpl
.endif
#
# Perl keeps headers and odd libraries in an odd path not caught by the
# default BUILDLINK_FILES_CMD, so name them to be symlinked into
# ${BUILDLINK_DIR}.
#
.include "../../lang/perl5/vars.mk"
BUILDLINK_FILES.perl= ${PERL5_SUB_INSTALLARCHLIB}/CORE/*
BUILDLINK_RPATHDIRS.perl+= ${PERL5_SUB_INSTALLARCHLIB}/CORE
.endif # PERL_BUILDLINK3_MK
BUILDLINK_TREE+= -perl