Subject: Re: pkg/32542: emulators/mmix have unnecessary dependency.
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Antoine Reilles <tonio@NetBSD.org>
List: pkgsrc-bugs
Date: 01/17/2006 17:20:02
The following reply was made to PR pkg/32542; it has been noted by GNATS.

From: Antoine Reilles <tonio@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/32542: emulators/mmix have unnecessary dependency.
Date: Tue, 17 Jan 2006 18:12:36 +0100

 Hi,
 
 Could you try this patch ?
 It lets mmix depends on tetex, and make sure cweb is intalled for the
 users of tetex1, since cweb is already included un tetex-[2-3].
 
 also, as cweb itself depends on tetex1, i see no real problem in
 depending on tetex1 in this case, even if this is not the cleanest
 solution.
 
 --
 antoine
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/emulators/mmix/Makefile,v
 retrieving revision 1.17
 diff -u -r1.17 Makefile
 --- Makefile	4 Jan 2006 04:29:06 -0000	1.17
 +++ Makefile	17 Jan 2006 17:13:11 -0000
 @@ -11,7 +11,13 @@
  
  BROKEN_IN=	pkgsrc-2005Q4
  
 +TEX_DEPMETHOD=	build
 +TEX_ACCEPTED=	teTeX1 teTeX2 teTeX3
 +.include "../../mk/tex.buildlink3.mk"
 +.if (${TEX_TYPE} == "teTeX1")
 +# mmix depends on cweb, so we need to also provide it when using teTeX1
  BUILD_DEPENDS+= cweb-[0-9]*:../../devel/cweb
 +.endif
  
  WRKSRC=		${WRKDIR}
  BUILD_TARGET=	all doc