Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 May 2005 14:55:39 -0300 (BRST)
From:      Renato Botelho <freebsd@galle.com.br>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/80557: [MAINTAINER] security/p5-Authen-Krb5: Break if perl < 5.004_04
Message-ID:  <200505021755.j42HtdFg016590@data.galle.com.br>
Resent-Message-ID: <200505021800.j42I0NTP032478@freefall.freebsd.org>

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

>Number:         80557
>Category:       ports
>Synopsis:       [MAINTAINER] security/p5-Authen-Krb5: Break if perl < 5.004_04
>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:   Mon May 02 18:00:23 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Renato Botelho
>Release:        FreeBSD 5.3-RELEASE-p9 i386
>Organization:
Galle Folheados - http://www.galle.com.br
>Environment:
System: FreeBSD data.galle.com.br 5.3-RELEASE-p9 FreeBSD 5.3-RELEASE-p9 #9: Fri Apr 15 07:52:00 BRST 2005
>Description:
- Add a BROKEN line if perl version is < 5.004_04

Reported by: pointyhat via kris

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

--- p5-Authen-Krb5-1.4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/p5-Authen-Krb5/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	25 Apr 2005 11:04:33 -0000	1.5
+++ Makefile	2 May 2005 17:54:35 -0000
@@ -25,8 +25,14 @@
 
 KRB5_HOME?=	${PREFIX}
 
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500404
+BROKEN=	"It requires perl-5.004_04 or higher to run"
+.endif
+
 post-patch:
 	@${PERL} -pi -e 's:${LOCALBASE}/krb5:${KRB5_HOME}:g' \
 		${WRKSRC}/Makefile.PL
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- p5-Authen-Krb5-1.4.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?200505021755.j42HtdFg016590>