Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2003 10:06:57 +0100 (CET)
From:      Erwin Lansing <erwin@lansing.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48201: mark www/p5-Apache-Gallery broken for perl < 5.6 
Message-ID:  <20030212090657.6F546A9D6@backup-mx.droso.dk>

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

>Number:         48201
>Category:       ports
>Synopsis:       mark www/p5-Apache-Gallery broken for perl < 5.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 12 01:10:03 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Erwin Lansing
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
pil.dk 
>Environment:
System: FreeBSD panda.droso.net 4.7-STABLE FreeBSD 4.7-STABLE #13: Tue Jan 7 21:26:37 CET 2003 root@panda.droso.net:/usr/obj/usr/src/sys/PANDA i386


	
>Description:

Mark www/p5-Apache-Gallery broken for perl < 5.6.
According to the author, it doesn't seem worth the
time to try to fix it.

>How-To-Repeat:
	
>Fix:

	

--- p5-Apache-Gallery.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/p5-Apache-Gallery/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	16 Jan 2003 03:12:21 -0000	1.1
+++ Makefile	12 Feb 2003 09:01:54 -0000
@@ -22,7 +22,6 @@
 		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/CGI/FastTemplate.pm:${PORTSDIR}/www/p5-CGI-FastTemplate \
 		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Inline.pm:${PORTSDIR}/devel/p5-Inline \
 		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Image/Size.pm:${PORTSDIR}/graphics/p5-Image-Size \
-		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
 		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
@@ -60,4 +59,13 @@
 	@ ${CAT} ${PKGMESSAGE}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+##
+## requires PERL 5.6.x or later
+##
+.if ${PERL_LEVEL} < 500600
+BROKEN=		Port requires perl 5.6.x or later. Install lang/perl5 then try again
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Apache-Gallery.diff ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




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