pkgsrc/devel/p5-Params-Validate/Makefile
sno 77811baf23 Update package for Perl5 module Params::Validate from CPAN in
devel/p5-Params-Validate from 1.00 to 1.06.

pkgsrc changes:
- add Module::Implementation requirement

Upstream changes:
1.06    2012-02-10
- Shut up warnings when XS is loaded on older 5.8.x Perl versions. Reported by
  Aaron James Trevena. RT #74742.


1.05    2012-02-08
- The XS code had a code path where it could pass the contents of a Perl
  variable as the first argument to the XS croak() subroutine. This subroutine
  is like printf(), and should receive a format string as its first
  argument. According to RT #74777, this can lead to segfaults on some systems.

  This could in theory be a security bug, but it's very unlikely that
  untrusted user input could end up being passed to this croak(). It is called
  when a spec specifies a "depend" value on another parameter. The value of
  the "depend" parameter was passed in the first argument to croak().

  Reported by Andreas Voegele.

1.04    2012-02-08
- Use the latest Module::XSOrPP dzil plugin to generate a saner Build.PL. No
  need update if you're using an earlier version.

1.03    2012-02-06
- This release uses Module::Implementation to handle loading the XS or pure
  Perl implementation of Params::Validate.

1.02    2012-02-06
- The previous release never loaded the XS implementation, even if it had been
  compiled.
- With newer versions of Perl, the pure Perl implementation treated regexp
  objects differently than the XS implementation. They should be treated as
  belonging to the SCALARREF type for backwards compatibility.
- These two bugs combined managed to break the test suites of a number of
  modules on CPAN. This release should fix them.

1.01    2012-02-05
- The generated Build.PL detects whether or not the machine it's run on has a
  working compiler, and disables XS automatically if it doesn't. Fixes RT
  #44719.
2012-03-22 14:10:05 +00:00

28 lines
931 B
Makefile

# $NetBSD: Makefile,v 1.40 2012/03/22 14:10:05 sno Exp $
DISTNAME= Params-Validate-1.06
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5pva
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Params/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Params-Validate/
COMMENT= Validate method/function parameters
LICENSE= ${PERL5_LICENSE}
PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
DEPENDS+= {p5-Attribute-Handlers>=0.79,perl>=5.10.0}:../../devel/p5-Attribute-Handlers
DEPENDS+= {p5-Scalar-List-Utils>=1.0,perl>=5.10.0}:../../devel/p5-Scalar-List-Utils
DEPENDS+= p5-Module-Implementation-[0-9]*:../../devel/p5-Module-Implementation
BUILD_DEPENDS+= p5-File-Slurp-[0-9]*:../../devel/p5-File-Slurp
USE_LANGUAGES= c
PERL5_MODULE_TYPE= Module::Build
PERL5_PACKLIST= auto/Params/Validate/.packlist
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"