summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2004-08-03 02:05:46 +0000
committerPeter Johanson <latexer@gentoo.org>2004-08-03 02:05:46 +0000
commit1e3cfcc6832ac75bf858f0a65dcca09b14b44803 (patch)
tree42f6b6c586c208120eb5c95729112d191fda0aab /net-news/blam
parentYou know you love it. Initial commit. (Manifest recommit) (diff)
downloadgentoo-2-1e3cfcc6832ac75bf858f0a65dcca09b14b44803.tar.gz
gentoo-2-1e3cfcc6832ac75bf858f0a65dcca09b14b44803.tar.bz2
gentoo-2-1e3cfcc6832ac75bf858f0a65dcca09b14b44803.zip
Add a check for gtkhtml-sharp.
Diffstat (limited to 'net-news/blam')
-rw-r--r--net-news/blam/ChangeLog6
-rw-r--r--net-news/blam/blam-1.0.54.ebuild15
2 files changed, 19 insertions, 2 deletions
diff --git a/net-news/blam/ChangeLog b/net-news/blam/ChangeLog
index 82233653977d..788ec0847e63 100644
--- a/net-news/blam/ChangeLog
+++ b/net-news/blam/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-news/blam
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/blam/ChangeLog,v 1.1 2004/08/03 02:00:26 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/blam/ChangeLog,v 1.2 2004/08/03 02:05:46 latexer Exp $
+
+ 02 Aug 2004; Peter Johanson <latexer@gentoo.org> blam-1.0.54.ebuild:
+ On second though, we really should make sure gtkhtml-sharp had been built by
+ the gtk-sharp package.
*blam-1.0.54 (02 Aug 2004)
diff --git a/net-news/blam/blam-1.0.54.ebuild b/net-news/blam/blam-1.0.54.ebuild
index bcde954e644b..9389ef78d0cd 100644
--- a/net-news/blam/blam-1.0.54.ebuild
+++ b/net-news/blam/blam-1.0.54.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/blam/blam-1.0.54.ebuild,v 1.1 2004/08/03 02:00:26 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/blam/blam-1.0.54.ebuild,v 1.2 2004/08/03 02:05:46 latexer Exp $
inherit mono
@@ -17,6 +17,19 @@ DEPEND=">=dev-dotnet/mono-1.0
>=x11-libs/gtk-sharp-1.0
>=gnome-base/gconf-2.4"
+src_unpack() {
+ if [ ! -f ${ROOT}/usr/share/gapi/gtkhtml-api.xml ]
+ then
+ echo
+ eerror "No gtkhtml-sharp support found. Please re-emerge"
+ eerror "gtk-sharp with 'gtkhtml' in your USE flags, and then"
+ eerror "emerge blam."
+ die "gtkhtml-sharp support missing."
+ fi
+
+ unpack ${A}
+}
+
src_compile() {
econf || die
emake -j1 || die