cvs commit: ports/textproc/p5-POE-Filter-XML Makefile distinfo

Yen-Ming Lee leeym at leeym.com
Tue Apr 28 07:43:40 UTC 2009


Like this?

$ cvs diff
Index: bsd.perl.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.perl.mk,v
retrieving revision 1.13
diff -u -d -b -w -r1.13 bsd.perl.mk
--- bsd.perl.mk 28 Mar 2009 20:45:06 -0000      1.13
+++ bsd.perl.mk 28 Apr 2009 07:41:52 -0000
@@ -151,7 +151,11 @@

 .if ${want_perl_sign} == "+"
 .if ${USE_PERL5_LEVEL} > ${masked_PERL_LEVEL}
+.if ${want_perl_minor} == "010"
+USE_PERL5_REASON?=     requires Perl ${want_perl_ver} or later,
install lang/perl5.10 and try again
+.else
 USE_PERL5_REASON?=     requires Perl ${want_perl_ver} or later,
install lang/perl5.8 or lang/perl5.10 and try again
+.endif
 IGNORE=        ${USE_PERL5_REASON}
 .endif # ${USE_PERL5_LEVEL} > ${masked_PERL_LEVEL}
 .elif ${want_perl_sign} == ""

-- 
Yen-Ming Lee <leeym at leeym.com>



2009/4/27 Ion-Mihai Tetcu <itetcu at freebsd.org>:
> On Mon, 27 Apr 2009 09:59:28 -0700
> Yen-Ming Lee <leeym at leeym.com> wrote:
>
>> It requires perl 5.10 in POE-Filter-XML-0.38/Build.PL, and the message
>> is generated by bsd.perl.mk.
>
> Yeh, I know :-)
>
>> Several issues:
>> - how do we handle the perl modules require perl 5.10 or above? push
>> users to upgrade?
>
> As long as PERL_VERSION?=  5.8.9 that ain't really an option. Making
> perl 5.10 the default will require some full -exp builds on PointyHat.
>
>> - should we remove lang/perl5.8 from the message?
>
> Well, tweaking this:
>  .if ${USE_PERL5_LEVEL} > ${masked_PERL_LEVEL}
>  USE_PERL5_REASON?=      requires Perl ${want_perl_ver} or later, install lang/perl5.8 or lang/perl5.10 and try again
>  IGNORE= ${USE_PERL5_REASON}
>  .endif # ${USE_PERL5_LEVEL} > ${masked_PERL_LEVEL}
> based on ${want_perl_minor} should be enough until perl6
>
> --
> IOnut - Un^d^dregistered ;) FreeBSD "user"
>  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
> FreeBSD committer -> itetcu at FreeBSD.org, PGP Key ID 057E9F8B493A297B
>


More information about the freebsd-perl mailing list