Use ifpdf.sty instead of defining one.
The local definition of ifpdf caused a conflict with TeX Live.
This commit is contained in:
parent
deaed1e9a8
commit
750798109f
3 changed files with 46 additions and 3 deletions
|
@ -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/}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
42
textproc/db2latex/patches/patch-ac
Normal file
42
textproc/db2latex/patches/patch-ac
Normal file
|
@ -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>
|
Loading…
Reference in a new issue