pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/mmix Allow mmix to be built when teTeX is al...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ac255261305
branches:  trunk
changeset: 506584:4ac255261305
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Thu Jan 19 15:50:05 2006 +0000

description:
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:

 emulators/mmix/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 6a84155b629e -r 4ac255261305 emulators/mmix/Makefile
--- a/emulators/mmix/Makefile   Thu Jan 19 14:51:38 2006 +0000
+++ b/emulators/mmix/Makefile   Thu Jan 19 15:50:05 2006 +0000
@@ -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 @@
 
 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



Home | Main Index | Thread Index | Old Index