summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2004-07-04 17:05:13 +0000
committerPeter Johanson <latexer@gentoo.org>2004-07-04 17:05:13 +0000
commit7426252199ca761be22314937367caebc0cd7930 (patch)
treeab0e37e7f348fac341be027247f7669d7cfc8e75 /dev-util
parentAdded to ~alpha (Manifest recommit) (diff)
downloadgentoo-2-7426252199ca761be22314937367caebc0cd7930.tar.gz
gentoo-2-7426252199ca761be22314937367caebc0cd7930.tar.bz2
gentoo-2-7426252199ca761be22314937367caebc0cd7930.zip
Check for gtkhtml-sharp. See bug #50096.
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/monodoc/ChangeLog5
-rw-r--r--dev-util/monodoc/monodoc-1.0.ebuild20
2 files changed, 18 insertions, 7 deletions
diff --git a/dev-util/monodoc/ChangeLog b/dev-util/monodoc/ChangeLog
index d36bd44701f7..e55b275f8a5a 100644
--- a/dev-util/monodoc/ChangeLog
+++ b/dev-util/monodoc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/monodoc
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/monodoc/ChangeLog,v 1.20 2004/06/30 15:58:32 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/monodoc/ChangeLog,v 1.21 2004/07/04 17:05:13 latexer Exp $
+
+ 04 Jul 2004; Peter Johanson <latexer@gentoo.org> monodoc-1.0.ebuild:
+ Added check for gtkhtml support. See bug #50096
30 Jun 2004; Peter Johanson <latexer@gentoo.org> monodoc-1.0.ebuild:
Small dep fix.
diff --git a/dev-util/monodoc/monodoc-1.0.ebuild b/dev-util/monodoc/monodoc-1.0.ebuild
index 7c25d79538e2..ee2fdbe0ebeb 100644
--- a/dev-util/monodoc/monodoc-1.0.ebuild
+++ b/dev-util/monodoc/monodoc-1.0.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/dev-util/monodoc/monodoc-1.0.ebuild,v 1.2 2004/06/30 15:58:32 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/monodoc/monodoc-1.0.ebuild,v 1.3 2004/07/04 17:05:13 latexer Exp $
inherit mono
@@ -14,14 +14,22 @@ IUSE=""
DEPEND=">=dev-dotnet/mono-1.0
>=x11-libs/gtk-sharp-1.0"
+src_unpack() {
+ if [ ! -f ${ROOT}/usr/lib/mono/gtk-sharp/gtkhtml-sharp.dll ]
+ then
+ echo
+ eerror "Support for gtkhtml missing from gtk-sharp!"
+ eerror "Please re-emerge gtk-sharp with 'gtkhtml' in USE,"
+ eerror "then emerge monodoc."
+ die "gtkhtml support missing from gtk-sharp"
+ fi
+ unpack ${A}
+}
+
src_compile() {
econf || die
MAKEOPTS="${MAKEOPTS} -j1"
- emake || {
- echo
- ewarn "If for some reason this fails, try adding 'gtkhtml' to your USE variables, re-emerge gtk-sharp, then emerge monodoc"
- die "make failed"
- }
+ emake || die "make failed"
}
src_install() {