diff options
author | tonio <tonio> | 2006-01-19 15:50:05 +0000 |
---|---|---|
committer | tonio <tonio> | 2006-01-19 15:50:05 +0000 |
commit | e79da4726d34051987885ed06663b1be68d71a5d (patch) | |
tree | f157bdbb42ffca3fa37f8a0ae85297941cb6542c /emulators/mmix | |
parent | 5e367e71be267cbd7f9380cab9e04865bc59b3bc (diff) | |
download | pkgsrc-e79da4726d34051987885ed06663b1be68d71a5d.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/mmix')
-rw-r--r-- | emulators/mmix/Makefile | 8 |
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 |