Subject: pkg/21084: Some pkgs should depend on teTeX OR teTeX2 (extends PR #21066)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dgrue@web.de>
List: netbsd-bugs
Date: 04/10/2003 03:53:19
>Number:         21084
>Category:       pkg
>Synopsis:       Some pkgs should depend on teTeX OR teTeX2 (extends PR #21066)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 10 03:54:00 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Dirk Ruediger
>Release:        NetBSD 1.6.1_RC2
>Organization:
>Environment:
System: NetBSD jay 1.6.1_RC2 NetBSD 1.6.1_RC2 (GENERIC) #0: Mon Mar 24 15:01:09 CET 2003 toor@jay:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
The packages print/{html2ps,magicfilter,tex-ocrb,tex-textpos} also depend on print/teTeX-bin-1.* only. They should depend on teTeX1 OR teTeX2. (At least html2ps ;-)

This PR extends PR #21066 (http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=21066)
>How-To-Repeat:

>Fix:
As wiz proposed in textproc/latex2html:

# Change 
DEPENDS+=      teTeX-bin>=1.0.6:../../print/teTeX-bin
# into
DEPENDS+=   {teTeX-bin>=1.0.6,teTeX2-bin-[0-9]*}:../../print/teTeX-bin

# But in case of a missing depedency, it will default to teTeX1 :-(
>Release-Note:
>Audit-Trail:
>Unformatted: