Subject: pkg/29873: print/rubber update to handle teTeX-3.0
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <reilles@loria.fr>
List: pkgsrc-bugs
Date: 04/03/2005 19:56:00
>Number:         29873
>Category:       pkg
>Synopsis:       print/rubber update to handle teTeX-3.0 and python2.4 issue
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 03 19:56:00 +0000 2005
>Originator:     Antoine Reilles
>Release:        NetBSD 3.99.3
>Organization:
	
>Environment:
	
	
System: NetBSD arcelot.loria.fr 3.99.3 NetBSD 3.99.3 (GENERIC) #0: Sun Apr 3 19:12:29 CEST 2005 tonio@arcelot.loria.fr:/usr/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
The current rubber DEPENDS line does not handle correctly dependancy over teTeX-3.0.
Also, rubber does not compile or work with python-2.4, so 24 should be removed from the 
PYTHON_VERSIONS_ACCEPTED variable.
>How-To-Repeat:
Install teTeX-bin3, and then try to install rubber.
It will try to install teTeX-2, while it works flawlessly with teTeX-3
>Fix:
Here a patch which fixed these two issues

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/textproc/rubber/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	23 Jan 2005 20:41:49 -0000	1.2
+++ Makefile	3 Apr 2005 19:50:24 -0000
@@ -9,7 +9,7 @@
 HOMEPAGE=		http://rubber.sourceforge.net/
 COMMENT=		Automated system for building LaTeX documents
 
-DEPENDS+=		teTeX-[0-9]*:../../print/teTeX
+DEPENDS+=		teTeX-bin-[0-9]*:../../print/teTeX-bin
 
 USE_BUILDLINK3=		yes
 USE_PKGLOCALEDIR=	yes
@@ -18,7 +18,7 @@
 USE_MAKEINFO=           yes
 INFO_FILES=             rubber.info
 TEXINFO_REQD=		4.6
-PYTHON_VERSIONS_ACCEPTED=	23 24
+PYTHON_VERSIONS_ACCEPTED=	23
 
 CONFIGURE_ARGS=		--python=${PYTHONBIN} --prefix=${PREFIX} \
 			--datadir=${PREFIX}/share

>Unformatted: