summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2008-12-18 00:35:24 +0000
committerhe <he@pkgsrc.org>2008-12-18 00:35:24 +0000
commit117d01e9cc00a6fe8e501abcdb1365faf96d0b83 (patch)
treefe118c1d8771bd9b602905590287970a111779fb /devel
parent38be6d66f8cae91acd4ba1c2bb39a598de359902 (diff)
downloadpkgsrc-117d01e9cc00a6fe8e501abcdb1365faf96d0b83.tar.gz
Update from version 0.40 to 0.40nb1.
Pkgsrc changes: o Make it possible to select between different YAML modules this module should depend on, and depend on p5-YAML by default. Patch from PR#39556 -- thanks!
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-PAR-Dist/Makefile21
1 files changed, 20 insertions, 1 deletions
diff --git a/devel/p5-PAR-Dist/Makefile b/devel/p5-PAR-Dist/Makefile
index 5edfb3542ee..78e5d91f9c2 100644
--- a/devel/p5-PAR-Dist/Makefile
+++ b/devel/p5-PAR-Dist/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.14 2008/11/17 04:20:50 he Exp $
+# $NetBSD: Makefile,v 1.15 2008/12/18 00:35:24 he Exp $
#
DISTNAME= PAR-Dist-0.40
PKGNAME= p5-${DISTNAME}
+PKGREVISION= 1
SVR4_PKGNAME= p5moi
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=PAR/}
@@ -18,5 +19,23 @@ PKG_DESTDIR_SUPPORT= user-destdir
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"