diff options
author | minskim <minskim> | 2009-07-28 16:27:11 +0000 |
---|---|---|
committer | minskim <minskim> | 2009-07-28 16:27:11 +0000 |
commit | 06dff40496f804608e5e86bd8779493d99265600 (patch) | |
tree | 19d3a4f941dc1b24ffde25951baa3e3cdeaa880e /textproc/db2latex | |
parent | 2bdf9ea1a9c4c1130a8c8f330cd9a95529a87dbb (diff) | |
download | pkgsrc-06dff40496f804608e5e86bd8779493d99265600.tar.gz |
Use ifpdf.sty instead of defining one.
The local definition of ifpdf caused a conflict with TeX Live.
Diffstat (limited to 'textproc/db2latex')
-rw-r--r-- | textproc/db2latex/Makefile | 4 | ||||
-rw-r--r-- | textproc/db2latex/distinfo | 3 | ||||
-rw-r--r-- | textproc/db2latex/patches/patch-ac | 42 |
3 files changed, 46 insertions, 3 deletions
diff --git a/textproc/db2latex/Makefile b/textproc/db2latex/Makefile index 5f708abc183..1f404acc8eb 100644 --- a/textproc/db2latex/Makefile +++ b/textproc/db2latex/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.16 2009/07/13 11:32:25 minskim Exp $ +# $NetBSD: Makefile,v 1.17 2009/07/28 16:27:11 minskim Exp $ DISTNAME= db2latex-xsl-0.8pre1 PKGNAME= ${DISTNAME:S/xsl-//} -PKGREVISION= 5 +PKGREVISION= 6 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=db2latex/} diff --git a/textproc/db2latex/distinfo b/textproc/db2latex/distinfo index d93a724372e..d033dfa5419 100644 --- a/textproc/db2latex/distinfo +++ b/textproc/db2latex/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.5 2007/06/12 19:13:38 minskim Exp $ +$NetBSD: distinfo,v 1.6 2009/07/28 16:27:12 minskim Exp $ SHA1 (db2latex-xsl-0.8pre1.tar.gz) = a82efeac8881edaacb323777b01befbaa4d067b8 RMD160 (db2latex-xsl-0.8pre1.tar.gz) = 7f610cb176576ae5507b4bf2c53c4e2380ec021b Size (db2latex-xsl-0.8pre1.tar.gz) = 696369 bytes SHA1 (patch-aa) = 4dbfcc93d92dd527345f9e5e353d1edb26d1f1bd SHA1 (patch-ab) = 3bed7d971fdf5fd887695820be89fb3ab80e47ad +SHA1 (patch-ac) = f4727cb41e82a51d83c31e89f9a801925e7159da diff --git a/textproc/db2latex/patches/patch-ac b/textproc/db2latex/patches/patch-ac new file mode 100644 index 00000000000..11c982c9a90 --- /dev/null +++ b/textproc/db2latex/patches/patch-ac @@ -0,0 +1,42 @@ +$NetBSD: patch-ac,v 1.1 2009/07/28 16:27:12 minskim Exp $ + +--- xsl/preamble.mod.xsl.orig 2004-01-31 04:26:12.000000000 -0800 ++++ xsl/preamble.mod.xsl +@@ -875,17 +875,7 @@ + <doc:param name="latex.pdf.preamble" xmlns=""> + <doc:description> + <screen> +- \usepackage{ifthen} +- % -------------------------------------------- +- % Check for PDFLaTeX/LaTeX +- % -------------------------------------------- +- \newif\ifpdf +- \ifx\pdfoutput\undefined +- \pdffalse % we are not running PDFLaTeX +- \else +- \pdfoutput=1 % we are running PDFLaTeX +- \pdftrue +- \fi ++ \usepackage{ifpdf} + % -------------------------------------------- + % Load graphicx package with pdf if needed + % -------------------------------------------- +@@ -899,17 +889,7 @@ + </doc:description> + </doc:param> + <xsl:param name="latex.pdf.preamble"> +- <xsl:text>\usepackage{ifthen} </xsl:text> +- <xsl:text>% -------------------------------------------- </xsl:text> +- <xsl:text>% Check for PDFLaTeX/LaTeX </xsl:text> +- <xsl:text>% -------------------------------------------- </xsl:text> +- <xsl:text>\newif\ifpdf </xsl:text> +- <xsl:text>\ifx\pdfoutput\undefined </xsl:text> +- <xsl:text>\pdffalse % we are not running PDFLaTeX </xsl:text> +- <xsl:text>\else </xsl:text> +- <xsl:text>\pdfoutput=1 % we are running PDFLaTeX </xsl:text> +- <xsl:text>\pdftrue </xsl:text> +- <xsl:text>\fi </xsl:text> ++ <xsl:text>\usepackage{ifpdf} </xsl:text> + <xsl:text>% -------------------------------------------- </xsl:text> + <xsl:text>% Load graphicx package with pdf if needed </xsl:text> + <xsl:text>% -------------------------------------------- </xsl:text> |