summaryrefslogtreecommitdiff
path: root/print/dvipdfm/Makefile
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
commit51f01602e38b1ffe8e7712451995688924f9bbf1 (patch)
tree77e5b27990430d7ab35da330d3e6ee88d1fb37f2 /print/dvipdfm/Makefile
parent9466716fdda4022eee3b28c39ba507d3a09a70a2 (diff)
downloadpkgsrc-51f01602e38b1ffe8e7712451995688924f9bbf1.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/dvipdfm/Makefile')
-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"