summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2003-11-07 13:55:02 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2003-11-07 13:55:02 +0000
commit1971dd41082efa83d5f8646e81a2a7412d55d7b9 (patch)
tree77e5b27990430d7ab35da330d3e6ee88d1fb37f2 /print
parent49fd8b358cb79c093f8244f1954d794706622896 (diff)
downloadpkgsrc-1971dd41082efa83d5f8646e81a2a7412d55d7b9.tar.gz
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 (limited to 'print')
-rw-r--r--print/dvipdfm/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/print/dvipdfm/Makefile b/print/dvipdfm/Makefile
index 4d5b47b56e2..f28983f31ec 100644
--- a/print/dvipdfm/Makefile
+++ b/print/dvipdfm/Makefile
@@ -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 @@ CONFLICTS+= ja-dvipdfm-[0-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 @@ post-install:
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"