pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-PerlIO-via-dynamic Depend on p5-Internals. T...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f91b7382b5e0
branches:  trunk
changeset: 548604:f91b7382b5e0
user:      apb <apb%pkgsrc.org@localhost>
date:      Sun Oct 19 09:49:26 2008 +0000

description:
Depend on p5-Internals.  This is actually needed only for perl-5.10
(p5-PerlIO-via-dynamic worked with perl-5.8 without needing
p5-Internals), but I don't know a way to encode that sort of conditional
dependency.

diffstat:

 devel/p5-PerlIO-via-dynamic/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r d72d23d2c348 -r f91b7382b5e0 devel/p5-PerlIO-via-dynamic/Makefile
--- a/devel/p5-PerlIO-via-dynamic/Makefile      Sun Oct 19 09:46:45 2008 +0000
+++ b/devel/p5-PerlIO-via-dynamic/Makefile      Sun Oct 19 09:49:26 2008 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2008/08/11 14:51:38 he Exp $
+# $NetBSD: Makefile,v 1.9 2008/10/19 09:49:26 apb Exp $
 
 DISTNAME=      PerlIO-via-dynamic-0.13
 PKGNAME=       p5-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=OurNet/CLKAO/}
 
@@ -14,5 +15,10 @@
 
 PERL5_PACKLIST=                auto/PerlIO/via/dynamic/.packlist
 
+# The following DEPENDS applies only if the perl version is 5.10,
+# but there's no way to specify that kind of condition, and it's
+# probably safe to make the dependency unconditional.
+DEPENDS+= p5-Internals>=1.1:../../devel/p5-Internals
+
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index