summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2007-04-11 08:02:26 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2007-04-11 08:02:26 +0000
commitad98a8d6a2d644e4cfa2bc93e9be5c71c4b4c71a (patch)
tree86e8532cfd9ca48ef83f4ebc81052016ef9bd023 /dev-libs/libusb/libusb-0.1.12-r1.ebuild
parentstable amd64, bug 172604 (diff)
downloadhistorical-ad98a8d6a2d644e4cfa2bc93e9be5c71c4b4c71a.tar.gz
historical-ad98a8d6a2d644e4cfa2bc93e9be5c71c4b4c71a.tar.bz2
historical-ad98a8d6a2d644e4cfa2bc93e9be5c71c4b4c71a.zip
Fix documentation build process. Add myself to metadata.xml
Package-Manager: portage-2.1.2.3
Diffstat (limited to 'dev-libs/libusb/libusb-0.1.12-r1.ebuild')
-rw-r--r--dev-libs/libusb/libusb-0.1.12-r1.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-libs/libusb/libusb-0.1.12-r1.ebuild b/dev-libs/libusb/libusb-0.1.12-r1.ebuild
index 8acfe84185ac..594e37289753 100644
--- a/dev-libs/libusb/libusb-0.1.12-r1.ebuild
+++ b/dev-libs/libusb/libusb-0.1.12-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.12-r1.ebuild,v 1.1 2007/04/10 09:44:07 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.12-r1.ebuild,v 1.2 2007/04/11 08:02:26 robbat2 Exp $
WANT_AUTOMAKE="latest"
WANT_AUTOCONF="latest"
@@ -29,6 +29,13 @@ src_unpack() {
epatch "${FILESDIR}"/${PV}-fbsd.patch
eautoreconf
elibtoolize
+
+ # Ensure that the documentation actually finds the DTD it needs
+ docbookdtd="/usr/share/sgml/docbook/sgml-dtd-4.2/docbook.dtd"
+ sysid='"-//OASIS//DTD DocBook V4.2//EN"'
+ sed -r -i -e \
+ "s,(${sysid}) \[\$,\1 \"${docbookdtd}\" \[,g" \
+ ${S}/doc/manual.sgml
}
src_compile() {