pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/39556: [UPDATE] devel/p5-PAR-Dist 0.31 -> 0.32



Jens Rehsack wrote:
The following reply was made to PR pkg/39556; it has been noted by GNATS.

From: Jens Rehsack <rehsack%web.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/39556: [UPDATE] devel/p5-PAR-Dist 0.31 -> 0.32
Date: Sat, 15 Nov 2008 14:10:28 +0000

 OBATA Akio wrote:
 > The following reply was made to PR pkg/39556; it has been noted by GNATS.
> > From: "OBATA Akio" <obache%netbsd.org@localhost>
 > To: gnats-bugs%netbsd.org@localhost
> Cc: > Subject: Re: pkg/39556: [UPDATE] devel/p5-PAR-Dist 0.31 -> 0.32
 > Date: Sat, 15 Nov 2008 20:41:20 +0900
> > Cannot fetch 0.32 now, current released version is 0.40.
 >  In recent version, it optionally require YAML related modules.
 >   1. Should it depend on YAML module by default?
 >   2. If 1, which is preferred pacakge? There are four textproc/p5-YAML* 
packages.
> I'll handle it this weekend - update to 0.40 including dependencies comes til tomorrow.

'cause the update was handled by he@ I used the time to make the solution "correct".

The diff against current pkg is atached.

/Jens
Index: devel/p5-PAR-Dist/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/p5-PAR-Dist/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- devel/p5-PAR-Dist/Makefile  17 Nov 2008 04:20:50 -0000      1.14
+++ devel/p5-PAR-Dist/Makefile  7 Dec 2008 17:40:12 -0000
@@ -18,5 +18,23 @@
 USE_LANGUAGES=         # empty
 PERL5_PACKLIST=                auto/PAR/Dist/.packlist
 
+PKG_OPTIONS_VAR=       PKG_OPTIONS.p5-PAR-Dist
+PKG_SUPPORTED_OPTIONS+=        # empty
+PKG_SUGGESTED_OPTIONS+=        # empty
+
+PKG_OPTIONS_REQUIRED_GROUPS=   YAML
+PKG_OPTIONS_GROUP.YAML=                YAML LibYAML YAML-Tiny
+PKG_SUGGESTED_OPTIONS=         YAML
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:MYAML-Tiny)
+BUILD_DEPENDS+=        p5-YAML-Tiny>=1.25:../../textproc/p5-YAML-Tiny
+.elif !empty(PKG_OPTIONS:MLibYAML)
+BUILD_DEPENDS+=        p5-LibYAML>=0.03:../../textproc/p5-LibYAML
+.elif !empty(PKG_OPTIONS:MYAML)
+BUILD_DEPENDS+=        p5-YAML>=0.60:../../textproc/p5-YAML
+.endif
+
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"


Home | Main Index | Thread Index | Old Index