Skip to content

Commit

Permalink
lexical-sealrequirehints-perl: Update to 0.011
Browse files Browse the repository at this point in the history
Update recipe for CPAN hosted Perl5 module Lexical::SealRequireHints from
0.010 to 0.011 to express our love for the Perl Programming Language.

Changes since 0.010: https://metacpan.org/changes/release/ZEFRAM/Lexical-SealRequireHints-0.011

Signed-off-by: Jens Rehsack <sno@netbsd.org>
  • Loading branch information
rehsack committed Feb 12, 2018
1 parent 8b1eefa commit 0f4c003
Showing 1 changed file with 7 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
DESCRIPTION = "This module works around two historical bugs in Perl's handling of the \
"%^H" (lexical hints) variable. One bug causes lexical state in one file to \
leak into another that is "require"d/"use"d from it. This bug, \
[perl #68590], was present from Perl 5.6 up to Perl 5.10, fixed in Perl \
5.11.0. The second bug causes lexical state (normally a blank "%^H" once the \
first bug is fixed) to leak outwards from "utf8.pm", if it is automatically \
leak into another that is "require"d/"use"d from it. This bug, [perl #68590] \
, was present from Perl 5.6 up to Perl 5.10, fixed in Perl 5.11.0. \
The second bug causes lexical state (normally a blank "%^H" once the first \
bug is fixed) to leak outwards from "utf8.pm", if it is automatically \
loaded during Unicode regular expression matching, into whatever source is \
compiling at the time of the regexp match. This bug, [perl #73174], was \
present from Perl 5.8.7 up to Perl 5.11.5, fixed in Perl 5.12.0."
Expand All @@ -18,19 +18,14 @@ HOMEPAGE= "https://metacpan.org/release/Lexical-SealRequireHints"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d"

SRC_URI = "https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/Lexical-SealRequireHints-0.010.tar.gz"
SRC_URI = "https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/Lexical-SealRequireHints-0.011.tar.gz"

SRC_URI[md5sum] = "a02f013b3e7c4a0e44a25dbcbdfd4aa1"
SRC_URI[sha256sum] = "e975b0f4296fe379accda73c8775435986128dac8ad8864f4694ddecd715a134"
SRC_URI[md5sum] = "210635d5316693885eb328986ef8e1d8"
SRC_URI[sha256sum] = "9e918ed118ef685d6e09dab1cd6e66ee0a31d776fe24bba63e5243906f56013a"
DEPENDS += "module-build-perl-native"

S = "${WORKDIR}/Lexical-SealRequireHints-${PV}"

inherit cpan_build

do_compile() {
export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
cpan_build_do_compile
}

BBCLASSEXTEND = "native"

0 comments on commit 0f4c003

Please sign in to comment.