Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2005 23:29:13 +0800 (CST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        philip@FreeBSD.org
Subject:   ports/84177: [PATCH] www/p5-Apache2-Scoreboard: add IGNORE for old perl
Message-ID:  <20050727152913.5181AB29C8A@utopia.leeym.com>
Resent-Message-ID: <200507271530.j6RFUOVG050159@freefall.freebsd.org>

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

>Number:         84177
>Category:       ports
>Synopsis:       [PATCH] www/p5-Apache2-Scoreboard: add IGNORE for old perl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 27 15:30:24 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Sun Jul 17 07:50:25 CST 2005
>Description:
- add IGNORE for old perl
- re-order PKGNAMEPREFIX and make portlint happier

Port maintainer (philip@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- p5-Apache2-Scoreboard-2.06_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/www/p5-Apache2-Scoreboard/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile	30 Jun 2005 07:58:52 -0000	1.5
+++ Makefile	27 Jul 2005 15:28:09 -0000
@@ -11,8 +11,8 @@
 CATEGORIES=	www perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=Apache
-DISTNAME=	Apache-Scoreboard-${PORTVERSION}
 PKGNAMEPREFIX=	p5-
+DISTNAME=	Apache-Scoreboard-${PORTVERSION}
 
 MAINTAINER=	philip@FreeBSD.org
 COMMENT=	Perl interface to the Apache scoreboard structure
@@ -31,4 +31,10 @@
 	${SED} -i.bak 's@%%LOCALBASE%%@${LOCALBASE}@g' ${WRKSRC}/Makefile.PL
 	${SED} -i.bak 's@%%LOCALBASE%%@${LOCALBASE}@g' ${WRKSRC}/Dummy/Makefile.PL
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE=		requires perl 5.8.x or later. Install lang/perl5.8 then try again
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Apache2-Scoreboard-2.06_1.patch ends here ---

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



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