pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc add USE_TETEX2 configuration variable and modify dvipd...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/36098460bf6c
branches:  trunk
changeset: 463347:36098460bf6c
user:      dmcmahill <dmcmahill%pkgsrc.org@localhost>
date:      Fri Nov 07 13:55:02 2003 +0000

description:
add USE_TETEX2 configuration variable and modify dvipdfm to use this
to allow it to work with teTeX2 or teTeX instead of requiring only
teTeX (1).

diffstat:

 mk/bsd.pkg.defaults.mk |  9 ++++++++-
 print/dvipdfm/Makefile |  9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diffs (53 lines):

diff -r b78b800534f2 -r 36098460bf6c mk/bsd.pkg.defaults.mk
--- a/mk/bsd.pkg.defaults.mk    Fri Nov 07 13:04:00 2003 +0000
+++ b/mk/bsd.pkg.defaults.mk    Fri Nov 07 13:55:02 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.defaults.mk,v 1.189 2003/10/19 07:43:24 grant Exp $
+# $NetBSD: bsd.pkg.defaults.mk,v 1.190 2003/11/07 13:55:02 dmcmahill Exp $
 #
 
 # A file providing defaults for pkgsrc and the packages collection.
@@ -1881,6 +1881,13 @@
 # Possible: 4, 5, not defined
 # Default: not defined
 
+#USE_TETEX2=
+# Used to specify the use of teTeX2 instead of
+# teTeX (version 1) for packages which need to
+# make a decision.
+# Possible: defined, not defined
+# Default: not defined
+
 USE_WNN4?= YES
 # Used in kinput2 to enable FreeWnn (a.k.a.  Wnn4) kana-kanji
 # converter support.
diff -r b78b800534f2 -r 36098460bf6c print/dvipdfm/Makefile
--- a/print/dvipdfm/Makefile    Fri Nov 07 13:04:00 2003 +0000
+++ b/print/dvipdfm/Makefile    Fri Nov 07 13:55:02 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2003/07/17 22:52:25 grant Exp $
+# $NetBSD: Makefile,v 1.9 2003/11/07 13:55:02 dmcmahill Exp $
 
 DISTNAME=      dvipdfm-0.13.2c
 PKGREVISION=   1
@@ -16,6 +16,9 @@
 USE_BUILDLINK2=                # defined
 GNU_CONFIGURE=         # defined
 CONFIGURE_ARGS+=       --datadir=${PREFIX}/share
+# needed to get the stdarg.h version of kpathsea/c-varargs.h instead of the
+# varargs.h version which gcc3 does not like
+CPPFLAGS+=             -DHAVE_PROTOTYPES
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -30,6 +33,10 @@
        mktexlsr
 
 .include "../../graphics/png/buildlink2.mk"
+.if defined(USE_TETEX2)
+.include "../../print/teTeX2-bin/kpathsea.buildlink2.mk"
+.else
 .include "../../print/teTeX-bin/kpathsea.buildlink2.mk"
+.endif
 .include "../../mk/ghostscript.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index