From cc44d0be98aabb64601c3d29f432f4c367d294a2 Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 24 Feb 2005 22:38:41 +0000 Subject: * Teach devel/p5-Module-Build to write .packlists just like MakeMaker.pm does. This allows us to use dynamic PLISTs for Perl modules that are built using Module::Build. Bump the PKGREVISION of p5-Module-Build to 1. * Drop the use of PERL5_USES_MODULE_BUILD and introduce a new variable PERL5_MODULE_TYPE that is either "MakeMaker" or "Module::Build" that names the framework used to build/install the module. * Split out the variables set in perl5/buildlink3.mk that are also used by perl5/module.mk into a new file perl5/vars.mk. Move some PERL5_* variable definitions from pkgsrc/mk/bsd.pkg.use.mk into perl5/vars.mk. This just centralizes the common PERL5_* definitions into a single file location. * Convert the known packages that use Module::Build to set PERL5_MODULE_TYPE and PERL5_PACKLIST: devel/p5-Class-Container devel/p5-Exception-Class devel/p5-Log-Dispatch devel/p5-Array-Compare textproc/p5-Pod-Coverage www/p5-Apache-Session-Wrapper www/p5-MasonX-Request-WithApacheSession --- devel/p5-Class-Container/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'devel/p5-Class-Container/Makefile') diff --git a/devel/p5-Class-Container/Makefile b/devel/p5-Class-Container/Makefile index eb32feabc82..da8c887b226 100644 --- a/devel/p5-Class-Container/Makefile +++ b/devel/p5-Class-Container/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2005/02/23 16:58:18 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2005/02/24 22:38:41 jlam Exp $ DISTNAME= Class-Container-0.12 PKGNAME= p5-${DISTNAME} @@ -15,10 +15,9 @@ DEPENDS+= p5-Scalar-List-Utils-[0-9]*:../../devel/p5-Scalar-List-Utils PKG_INSTALLATION_TYPES= overwrite pkgviews -USE_BUILDLINK3= YES -PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Class/Container/.packlist -# doesn't give us a packlist yet, so disabled for now -#PERL5_USES_MODULE_BUILD= YES +USE_BUILDLINK3= yes +PERL5_MODULE_TYPE= Module::Build +PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Class/Container/.packlist .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3