diff options
author | he <he> | 2008-10-19 19:10:42 +0000 |
---|---|---|
committer | he <he> | 2008-10-19 19:10:42 +0000 |
commit | 2560c84b6152c3cc13f201807fa73da40e5e951a (patch) | |
tree | 35bb533147e144ec9f7c1b4a67330c1c19f77c3b /lang/perl5 | |
parent | ee4d30b8946867b5aac2214441c207ff79521511 (diff) | |
download | pkgsrc-2560c84b6152c3cc13f201807fa73da40e5e951a.tar.gz |
Add BUILDLINK_API_DEPENDS.perl+= perl<5.12.0 together with a comment
explaining that this should prevent a repeat of the current problem where
binary perl packages built for 5.8.8 can be installed together with
perl 5.10.0 without any warning/error. By the perl numbering scheme,
perl 5.12.0 will be the next maintenance version which installs modules
in a different path than what's used for 5.10.0.
The contents of perl itself doesn't change as a result of this change,
so no revision bump, but a revision bump for all packages which depend
directly on perl is forthcoming, as a workaround for the 5.8.8 -> 5.10.0
transition.
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/buildlink3.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/perl5/buildlink3.mk b/lang/perl5/buildlink3.mk index f98400b86e4..de805a61507 100644 --- a/lang/perl5/buildlink3.mk +++ b/lang/perl5/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.42 2008/10/16 18:27:13 he Exp $ +# $NetBSD: buildlink3.mk,v 1.43 2008/10/19 19:10:42 he Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ PERL5_BUILDLINK3_MK:= ${PERL5_BUILDLINK3_MK}+ @@ -17,6 +17,10 @@ PERL5_REQD+= 5.10.0 .for _perl5_ver_ in ${PERL5_REQD} BUILDLINK_API_DEPENDS.perl+= perl>=${_perl5_ver_} .endfor +# Prevent p5-* etc. packages built for 5.10.0 to be used +# with the next incompatible version of perl: +BUILDLINK_API_DEPENDS.perl+= perl<5.12.0 + BUILDLINK_PKGSRCDIR.perl?= ../../lang/perl5 FIND_PREFIX:= PERLDIR=perl |