summaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-11-06 21:46:00 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-11-06 21:46:00 +0000
commit8219c15466ce03a3ed969e84bf36417ff59c96d9 (patch)
tree649f39bd33cef3ada64a186b286cea0f0c4fbd31 /finance
parent2ac8302333218f253434a1b9c051d761ee6b5475 (diff)
downloadpkgsrc-8219c15466ce03a3ed969e84bf36417ff59c96d9.tar.gz
Add patches (from FreeBSD) which appear to be necessary to successfully
build this package with up-to-date libxml2/libxslt
Diffstat (limited to 'finance')
-rw-r--r--finance/gnucash-docs/Makefile14
-rw-r--r--finance/gnucash-docs/distinfo4
-rw-r--r--finance/gnucash-docs/patches/patch-aa18
-rw-r--r--finance/gnucash-docs/patches/patch-ab20
4 files changed, 51 insertions, 5 deletions
diff --git a/finance/gnucash-docs/Makefile b/finance/gnucash-docs/Makefile
index 9f5310e86ff..8579fee3947 100644
--- a/finance/gnucash-docs/Makefile
+++ b/finance/gnucash-docs/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2004/10/28 11:45:46 jdolecek Exp $
+# $NetBSD: Makefile,v 1.3 2004/11/06 21:46:00 jdolecek Exp $
DISTNAME= gnucash-docs-1.8.4
-PKGREVISION= # empty
+PKGREVISION= 1
CATEGORIES= finance
-MASTER_SITES= ftp://ftp.gnucash.org/pub/gnucash/sources/stable/ \
+MASTER_SITES= http://www.gnucash.org/pub/gnucash/sources/stable/ \
${MASTER_SITE_SOURCEFORGE:=gnucash/}
MAINTAINER= jdolecek@NetBSD.org
@@ -27,6 +27,12 @@ post-buildlink:
${LN} -s /usr/include/db.h ${BUILDLINK_DIR}/include/db_185.h
.endif
-.include "../../mk/bdb.buildlink3.mk"
+BUILD_DEPENDS= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
+
+BUILDLINK_DEPMETHOD.libxml2= build
+BUILDLINK_DEPMETHOD.libxslt= build
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/libxslt/buildlink3.mk"
.include "../../textproc/scrollkeeper/buildlink3.mk"
+.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/finance/gnucash-docs/distinfo b/finance/gnucash-docs/distinfo
index f89a60a17f5..0383e9d730b 100644
--- a/finance/gnucash-docs/distinfo
+++ b/finance/gnucash-docs/distinfo
@@ -1,4 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/10/23 10:40:35 jdolecek Exp $
+$NetBSD: distinfo,v 1.2 2004/11/06 21:46:00 jdolecek Exp $
SHA1 (gnucash-docs-1.8.4.tar.gz) = 4b54f62ae91fb4a386bb8d59e9592928f3917beb
Size (gnucash-docs-1.8.4.tar.gz) = 1658889 bytes
+SHA1 (patch-aa) = de6f82b8bc5d1ad0497f39cf9c2a964a831d4840
+SHA1 (patch-ab) = 6814addaf3ecd76f5c3061e830c995b336210e95
diff --git a/finance/gnucash-docs/patches/patch-aa b/finance/gnucash-docs/patches/patch-aa
new file mode 100644
index 00000000000..e958ff0fce2
--- /dev/null
+++ b/finance/gnucash-docs/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.1 2004/11/06 21:46:00 jdolecek Exp $
+
+--- xsl/general-customization.xsl.orig Sat Oct 16 20:19:30 2004
++++ xsl/general-customization.xsl Sat Oct 16 20:19:53 2004
+@@ -13,11 +13,11 @@
+ <!-- Including new title page stylesheets for customizing the placement
+ of tags in the title page. -->
+ <!-- This one is autogenerated from titlepage.xml -->
+-<xsl:include href="titlepage.xsl"/>
++<!--<xsl:include href="titlepage.xsl"/>-->
+
+ <!-- This one was edited by hand, to make titlepage a separate chunk
+ for book and aricle -->
+-<xsl:include href="titlepage2.xsl"/>
++<xsl:import href="titlepage2.xsl"/>
+
+ <!-- Make a separate titlepage and link it behind the main page. -->
+ <xsl:param name="generate.titlepage.link" select="1"/>
diff --git a/finance/gnucash-docs/patches/patch-ab b/finance/gnucash-docs/patches/patch-ab
new file mode 100644
index 00000000000..1e01b28abec
--- /dev/null
+++ b/finance/gnucash-docs/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1 2004/11/06 21:46:00 jdolecek Exp $
+
+--- xsl/titlepage2.xsl.orig Sat Oct 16 20:19:35 2004
++++ xsl/titlepage2.xsl Sat Oct 16 20:20:35 2004
+@@ -4,6 +4,8 @@
+ <!-- This is a customization layer, to change some of the things in
+ auto-generated titlepage.xsl -->
+
++ <xsl:import href="titlepage.xsl"/>
++
+ <xsl:template xmlns:xsl="http://www.w3.org/1999/XSL/Transform" name="book.titlepage">
+ <!-- Added to create a separate titlepage -->
+ <xsl:param name="next" select="."/>
+@@ -217,4 +219,4 @@
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:template>
+-</xsl:stylesheet>
+\ No newline at end of file
++</xsl:stylesheet>