fdf055398a
NetBSD Packages Collection. The Perl 5 module Hash::Util::FieldHash::Compat use Hash::Util::FieldHash or ties, depending on availability. Under older perls this module provides a drop in compatible api to Hash::Util::FieldHash using perltie. When Hash::Util::FieldHash is available it will use that instead. This way code requiring field hashes can benefit from fast, robust field hashes on Perl 5.10 and newer, but still run on older perls that don't ship with that module. See Hash::Util::FieldHash for all the details of the API.
28 lines
984 B
Makefile
28 lines
984 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2009/03/22 07:31:43 seb Exp $
|
|
#
|
|
|
|
DISTNAME= Hash-Util-FieldHash-Compat-0.03
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Hash/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/Hash-Util-FieldHash-Compat/
|
|
COMMENT= Perl 5 module to user Hash::Util::FieldHash or ties
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= # empty
|
|
PERL5_PACKLIST= auto/Hash/Util/FieldHash/Compat/.packlist
|
|
|
|
# This package was added after Perl 5.10 became the minimal required
|
|
# version for pkgsrc. The module Hash::Util::FieldHash is a core
|
|
# module since version 5.9.4. Thus this module/package does not need
|
|
# any of the two dependencies below.
|
|
#DEPENDS+= p5-Tie-RefHash>=1.38:../../devel/p5-Tie-RefHash
|
|
#DEPENDS+= p5-Tie-RefHash-Weak>=0.08../../devel/p5-Tie-RefHash-Weak
|
|
|
|
BUILD_DEPENDS+= p5-Test-use-ok-[0-9]*:../../devel/p5-Test-use-ok
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|