summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authordmcmahill <dmcmahill>2003-11-07 13:55:02 +0000
committerdmcmahill <dmcmahill>2003-11-07 13:55:02 +0000
commit05a718bf98df7719d19cdb05074414a8fa73a52b (patch)
tree77e5b27990430d7ab35da330d3e6ee88d1fb37f2 /print
parent61b85abe95c93814c1a56d9ca9c700da92608572 (diff)
downloadpkgsrc-05a718bf98df7719d19cdb05074414a8fa73a52b.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"