ports/51652: devel/p5-Params-Validate does not really need perl 5.6

Anton Berezin tobez at FreeBSD.org
Thu May 1 09:40:10 UTC 2003


>Number:         51652
>Category:       ports
>Synopsis:       devel/p5-Params-Validate does not really need perl 5.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 01 02:40:08 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Anton Berezin
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
>Description:

p5-Params-Validate has an extra module, Attribute::Params::Validate,
which uses Attribute::Handlers, which requires perl 5.6 or above.
This is an add-on functionality which is not necessary for main module
operation.

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/p5-Params-Validate/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile	24 Feb 2003 21:41:13 -0000	1.10
+++ Makefile	1 May 2003 09:28:05 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	Params-Validate
 PORTVERSION=	0.54
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Devel/DROLSKY
@@ -23,14 +24,7 @@
 
 .include <bsd.port.pre.mk>
 
-##
-## this port depends on devel/p5-Attribute-Handlers
-## which requires PERL 5.6.x or later
-##
-.if ${PERL_LEVEL} < 500600
-IGNORE=		Port requires perl 5.6.x or later. Install lang/perl5 then try again
-.endif
-.if ${PERL_LEVEL} < 500800
+.if ${PERL_LEVEL} >= 500600 && ${PERL_LEVEL} < 500800
 BUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Attribute/Handlers.pm:${PORTSDIR}/devel/p5-Attribute-Handlers
 RUN_DEPENDS=	${BUILD_DEPENDS}
 .endif

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list