summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-25 02:07:46 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-25 02:07:46 +0000
commit8f17984470c5e953978f47f8f4f8de524cd1901e (patch)
tree11bc618d4e9739979bf0f6b395eab7094f618fb0 /sys-apps/discover
parentMoved has_version to src_compile. (diff)
downloadhistorical-8f17984470c5e953978f47f8f4f8de524cd1901e.tar.gz
historical-8f17984470c5e953978f47f8f4f8de524cd1901e.tar.bz2
historical-8f17984470c5e953978f47f8f4f8de524cd1901e.zip
manpage fix
Diffstat (limited to 'sys-apps/discover')
-rw-r--r--sys-apps/discover/discover-2.0.2.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys-apps/discover/discover-2.0.2.ebuild b/sys-apps/discover/discover-2.0.2.ebuild
index 07bab9feb3c1..a5435c94e2f0 100644
--- a/sys-apps/discover/discover-2.0.2.ebuild
+++ b/sys-apps/discover/discover-2.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/discover/discover-2.0.2.ebuild,v 1.5 2004/02/25 01:22:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/discover/discover-2.0.2.ebuild,v 1.6 2004/02/25 02:07:46 vapier Exp $
DESCRIPTION="Library and front-end for retrieving information about a system's hardware"
HOMEPAGE="http://hackers.progeny.com/discover/"
@@ -19,8 +19,13 @@ PDEPEND="sys-apps/discover-data"
src_unpack() {
unpack ${A}
cd ${S}
- which docbook-to-man 2>/dev/null \
- || sed -i 's:docbook-to-man:docbook2man:' doctools/docbook.mk
+ if which docbook-to-man 2>/dev/null ; then
+ if which docbook2man 2>/dev/null ; then
+ sed -i 's:docbook-to-man:echo:' doctools/docbook.mk
+ else
+ sed -i 's:docbook-to-man:docbook2man:' doctools/docbook.mk
+ fi
+ fi
}
src_compile() {