Bug 54302 - New port: p5-X11-IdleTime, Perl module to detect idle time
Summary: New port: p5-X11-IdleTime, Perl module to detect idle time
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Erwin Lansing
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-10 04:10 UTC by Sean Farley
Modified: 2003-08-25 18:49 UTC (History)
0 users

See Also:


Attachments
file.shar (3.08 KB, text/plain)
2003-07-10 04:10 UTC, Sean Farley
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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!