pkgsrc/textproc/p5-YAML/Makefile

25 lines
741 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.43 2016/07/26 00:10:05 wen Exp $
DISTNAME= YAML-1.18
PKGNAME= p5-${DISTNAME}
CATEGORIES= perl5 textproc
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=YAML/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/YAML/
COMMENT= YAML implementation for Perl
LICENSE= ${PERL5_LICENSE}
2014-12-15 10:25:16 +01:00
BUILD_DEPENDS+= p5-Test-YAML>=1.05:../../textproc/p5-Test-YAML
USE_LANGUAGES= # empty
PERL5_PACKLIST= auto/YAML/.packlist
Update p5-YAML to 0.62. Based on patch provided by Martin Wilke via PR 34343 (avoiding interaction in configure stage). *** WARNING *** This release breaks compatibility with versions earlier than version 0.60 of YAML::Syck and YAML.pm when serializing blessed references. from COMPATIBILITY: YAML.pm 0.60 breaks compatability with older version by changing the tags that are output for serialized objects. This was the old way: --- !perl/Foo::Bar {} --- !perl/@Baz [] --- !perl/$Quux "" New way: --- !!perl/hash:Foo::Bar {} --- !!perl/array:Baz [] --- !!perl/scalar:Quux "" * This change was made after discussions with the Python and Ruby implementors to standardize on this form. * YAML::Syck was updated at the same time as YAML.pm so that they serialize objects the same way. * YAML.pm roundtrips the new format and still parses the old (now deprecated) format. * The best strategy is to update to the latest version. * There are potential problems if you use YAML for RPC and the server and client versions don't match. Changes: --- version: 0.62 date: Mon Jul 3 15:41:20 PDT 2006 changes: - Patch from rgs for Catalyst users --- version: 0.61 date: Sun Jul 2 15:25:08 CDT 2006 changes: - New CGI.pm made test fail. --- version: 0.60 date: Fri Jun 30 21:55:55 CDT 2006 changes: - Changed object tag format in non backwards compatible way - Removed support for folded scalar emission - Added new tests - Sync with YAML::Syck --- version: 0.58 date: Tue Feb 14 12:42:34 PST 2006 changes: - Fixed bug reported by Slaven Rezic on 5.8.0 - Fixed a ysh bug reported on rt. 17589
2006-10-28 10:37:40 +02:00
MAKE_PARAMS+= < /dev/null
# By using Module::Install::Bundled a circular dependency on
# involving devel/p5-Module-Build, textproc/p5-YAML and
# devel/p5-Module-Install is avoided
PERL5_MODULE_TYPE= Module::Install::Bundled
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"