Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Sep 2003 03:22:08 -0500 (CDT)
From:      Mark Linimon <linimon@lonesome.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56417: [patch] mark devel/p5-Algorithm-MarkovChain as requring recent Perl
Message-ID:  <200309030822.h838M8xB046136@lonesome.lonesome.com>
Resent-Message-ID: <200309041130.h84BU87D038561@freefall.freebsd.org>

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

>Number:         56417
>Category:       ports
>Synopsis:       [patch] mark devel/p5-Algorithm-MarkovChain as requring recent 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:   Thu Sep 04 04:30:08 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Mark Linimon
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
Lonesome Dove Computing Services
>Environment:
System: FreeBSD lonesome.lonesome.com 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #2: Mon Aug 25 22:44:23 CDT 2003 linimon@lonesome.lonesome.com:/usr/src/sys/compile/MULTIMEDIA i386
>Description:
	Per bento, fails to install with stock Perl from base system.
	Seems to install fine with 5.6.1.
>How-To-Repeat:
	(bento logs)
>Fix:
	I have no idea whether this is the canonical way to note
	this problem or not, someone please enlighten me.

--- p5-Algorithm-MarkovChain/Makefile.dist	Tue Jun 24 23:09:52 2003
+++ p5-Algorithm-MarkovChain/Makefile	Wed Sep  3 03:18:53 2003
@@ -24,4 +24,10 @@
 MANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
 MAN3=		Algorithm::MarkovChain.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+IGNORE=		"needs at least perl 5.6.1 to build"
+.endif
+
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



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