cvs commit: ports/www/p5-RTx-Statistics Makefile

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Apr 13 04:35:39 PDT 2009


On Mon, Apr 13, 2009 at 11:29:58AM +0300, Ion-Mihai Tetcu wrote:
> On Mon, 13 Apr 2009 09:00:06 +0100
> Matthew Seaman <m.seaman at infracaninophile.co.uk> wrote:
> 
> > QAT at freebsd.org wrote:
> > 
> > > ===>   rt-3.8.2 is already installed
> > >       You may wish to ``make deinstall'' and install this port again
> > >       by ``make reinstall'' to upgrade it properly.
> > >       If you really wish to overwrite the old port of www/rt38
> > >       without deleting it first, set the variable
> > > "FORCE_PKG_REGISTER" in your environment or the "make install"
> > > command line. *** Error code 1
> > > 
> > > Stop in /a/ports/www/rt38.
> > > *** Error code 1
> > > 
> > > Stop in /a/ports/www/p5-RTx-Statistics.
> > > ================================================================
> > > build of /usr/ports/www/p5-RTx-Statistics ended at Sun Apr 12
> > > 19:35:40 UTC 2009
> > 
> > Uh -- RTx::Statistics is not compatible with rt-3.8.x  Upstream
> > hasn't been updated since 2006.  Will work with rt-3.6.x or earlier
> > though.
> 
> Should I mark the port broken or?
> 

or fix it or delete it?  It could still be useful to somebody, so...

This should fix the various problems:

diff -Nur /usr/ports/www/p5-RTx-Statistics/Makefile p5-RTx-Statistics/Makefile
--- /usr/ports/www/p5-RTx-Statistics/Makefile	2009-04-13 12:16:29.000000000 +0100
+++ p5-RTx-Statistics/Makefile	2009-04-13 12:26:03.000000000 +0100
@@ -7,7 +7,7 @@
 
 PORTNAME=	RTx-Statistics
 PORTVERSION=	0.1.8
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www perl5
 MASTER_SITES=	http://opensvn.csie.org/RTx_Statistics/releases/${PORTVERSION}/
 PKGNAMEPREFIX=	p5-
@@ -15,8 +15,9 @@
 MAINTAINER=	perl at FreeBSD.org
 COMMENT=	RTx::Statistics - Produces statistical information based on RT3 data
 
+# This module is not compatible with rt-3.8.0 or later.
 BUILD_DEPENDS=	${SITE_PERL}/GD/Graph.pm:${PORTSDIR}/graphics/p5-GD-Graph \
-		${RT_PATH}/lib/RT.pm:${PORTSDIR}/www/rt38
+		${RT_PATH}/lib/RT.pm:${PORTSDIR}/www/rt36
 RUN_DEPENDS=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	5.8.3+

The patch Edwin applied before broke under QAT testing because the
www/rt38 port layout is now completely different to www/rt36 and
earlier, breaking the dependency checking. www/rt36 is on the old
layout, so should be fine.  Even so, internal changes in rt38 code
mean that the various graphs this port would have produced no longer
work correctly, so best to leave it depending on www/rt36 instead.

   Cheers,

   Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-ports/attachments/20090413/47fbd654/attachment.pgp


More information about the cvs-ports mailing list