From 9dd0764a8e8c556c702d1b7039db9537f9c1a353 Mon Sep 17 00:00:00 2001 From: tonio Date: Thu, 19 Jan 2006 15:50:05 +0000 Subject: Allow mmix to be built when teTeX is already installed (and not tetex1) As mmix needs cweb, let mmix use tex.buildlink.mk (teTeX2 and teTeX3 do provide cweb), and add a dependency over cweb in case TEX_DEFAULT is tetex1 The tetex build dependency in this case is not a problem, since tetex is needed by cweb. Also, no PKGREVISION bump, since there are only build depends This fixes PR 3254 --- emulators/mmix/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'emulators') diff --git a/emulators/mmix/Makefile b/emulators/mmix/Makefile index e5a600b47c7..3aa33aebac8 100644 --- a/emulators/mmix/Makefile +++ b/emulators/mmix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2006/01/04 04:29:06 schmonz Exp $ +# $NetBSD: Makefile,v 1.18 2006/01/19 15:50:05 tonio Exp $ DISTNAME= mmix-20030622 PKGREVISION= 1 @@ -11,7 +11,13 @@ COMMENT= Simulators for Knuth's MMIX RISC architecture 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 -- cgit v1.2.3