summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2006-01-19 15:50:05 +0000
committertonio <tonio@pkgsrc.org>2006-01-19 15:50:05 +0000
commit9dd0764a8e8c556c702d1b7039db9537f9c1a353 (patch)
treef157bdbb42ffca3fa37f8a0ae85297941cb6542c /emulators
parentd74507e8b12a9986d935ad72d559fc822cc03b7d (diff)
downloadpkgsrc-9dd0764a8e8c556c702d1b7039db9537f9c1a353.tar.gz
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
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mmix/Makefile8
1 files changed, 7 insertions, 1 deletions
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