Bug 54302

Summary: New port: p5-X11-IdleTime, Perl module to detect idle time
Product: Ports & Packages Reporter: Sean Farley <sean-freebsd>
Component: Individual Port(s)Assignee: Erwin Lansing <erwin>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.shar none

Description Sean Farley 2003-07-10 04:10:24 UTC
This a Perl module to detect how long an X Window System console has
been idle.
Comment 1 Erwin Lansing freebsd_committer freebsd_triage 2003-07-10 09:07:50 UTC
State Changed
From-To: open->feedback

===>  Configuring for p5-X11-IdleTime-0.01 
Perl 5.008 required--this is only version 5.00503, stopped at ./Makefile.PL line 1. 
BEGIN failed--compilation aborted at ./Makefile.PL line 1. 
*** Error code 255 

Could you try to patch this to make it work with lower perls, 
or mark it IGNORE ?
Comment 2 Sean Farley 2003-07-10 15:55:39 UTC
Darn it!  I thought I had checked for everything.  Here is a patch to
Makefile to IGNORE everything before PERL 5.8.

--- Makefile.orig	Wed Jul  9 21:51:18 2003
+++ Makefile	Thu Jul 10 08:06:37 2003
@@ -30,4 +30,13 @@
 	@${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' ${WRKSRC}/${i}
 .endfor

-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+##
+## this port requires PERL 5.8.x or later
+##
+.if ${PERL_LEVEL} < 500800
+IGNORE=		Port requires perl 5.8.x or later. Install lang/perl5.8 then try again
+.endif
+
+.include <bsd.port.post.mk>
Comment 3 Edwin Groothuis freebsd_committer freebsd_triage 2003-08-24 07:06:44 UTC
State Changed
From-To: feedback->open

Feedback given 


Comment 4 Edwin Groothuis freebsd_committer freebsd_triage 2003-08-24 07:06:44 UTC
Responsible Changed
From-To: freebsd-ports-bugs->erwin
Comment 5 Erwin Lansing freebsd_committer freebsd_triage 2003-08-25 18:49:07 UTC
State Changed
From-To: open->closed

Port added, thanks!