summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-11-13 23:14:38 +0000
committerMike Frysinger <vapier@gentoo.org>2011-11-13 23:14:38 +0000
commit60d868c5819bb9483c010e042bb95de5df37edc1 (patch)
tree82556a9b9d7f51d6d827af924d1569425cf5be1b /dev-libs/libusb
parentmedia-gfx/blender: Improve desktop files (diff)
downloadgentoo-2-60d868c5819bb9483c010e042bb95de5df37edc1.tar.gz
gentoo-2-60d868c5819bb9483c010e042bb95de5df37edc1.tar.bz2
gentoo-2-60d868c5819bb9483c010e042bb95de5df37edc1.zip
Use URL to find dockbook dtd rather than filesystem path.
(Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/libusb')
-rw-r--r--dev-libs/libusb/ChangeLog5
-rw-r--r--dev-libs/libusb/libusb-0.1.12-r7.ebuild10
2 files changed, 8 insertions, 7 deletions
diff --git a/dev-libs/libusb/ChangeLog b/dev-libs/libusb/ChangeLog
index 05e75b8ccc59..0baadda07f81 100644
--- a/dev-libs/libusb/ChangeLog
+++ b/dev-libs/libusb/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/libusb
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v 1.114 2011/11/13 19:03:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v 1.115 2011/11/13 23:14:38 vapier Exp $
+
+ 13 Nov 2011; Mike Frysinger <vapier@gentoo.org> libusb-0.1.12-r7.ebuild:
+ Use URL to find dockbook dtd rather than filesystem path.
13 Nov 2011; Mike Frysinger <vapier@gentoo.org> libusb-0.1.12-r7.ebuild:
Convert USE=nocxx to USE=cxx.
diff --git a/dev-libs/libusb/libusb-0.1.12-r7.ebuild b/dev-libs/libusb/libusb-0.1.12-r7.ebuild
index f97dd3f4fa03..6e84b059f23a 100644
--- a/dev-libs/libusb/libusb-0.1.12-r7.ebuild
+++ b/dev-libs/libusb/libusb-0.1.12-r7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 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-r7.ebuild,v 1.4 2011/11/13 19:03:05 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-0.1.12-r7.ebuild,v 1.5 2011/11/13 23:14:38 vapier Exp $
EAPI="3"
@@ -33,11 +33,9 @@ src_prepare() {
eautoreconf
# Ensure that the documentation actually finds the DTD it needs
- docbookdtd="${EPREFIX}/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
+ sed -i \
+ -e '1s|\[$|"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [|' \
+ doc/manual.sgml || die
}
src_configure() {