Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  1 May 2003 11:33:27 +0200 (CEST)
From:      Anton Berezin <tobez@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        dsh@vlink.ru
Subject:   ports/51652: devel/p5-Params-Validate does not really need perl 5.6
Message-ID:  <20030501093327.ACA36175D4@heechee.tobez.org>
Resent-Message-ID: <200305010940.h419e80C083859@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030501093327.ACA36175D4>