summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2009-02-01 15:16:24 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2009-02-01 15:16:24 +0000
commit82f26f15f171f43d945c828779f0f5f98b316cad (patch)
tree819a27f9d0faead4d749cebedf85c9786e04287c /x11-wm/awesome/awesome-2.3.4.ebuild
parentStable on alpha, bug #255851 (diff)
downloadgentoo-2-82f26f15f171f43d945c828779f0f5f98b316cad.tar.gz
gentoo-2-82f26f15f171f43d945c828779f0f5f98b316cad.tar.bz2
gentoo-2-82f26f15f171f43d945c828779f0f5f98b316cad.zip
Fixed cairo dependency, bug #256898.
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm/awesome/awesome-2.3.4.ebuild')
-rw-r--r--x11-wm/awesome/awesome-2.3.4.ebuild15
1 files changed, 13 insertions, 2 deletions
diff --git a/x11-wm/awesome/awesome-2.3.4.ebuild b/x11-wm/awesome/awesome-2.3.4.ebuild
index 7e95e5a73885..848d7e5a84b2 100644
--- a/x11-wm/awesome/awesome-2.3.4.ebuild
+++ b/x11-wm/awesome/awesome-2.3.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/awesome-2.3.4.ebuild,v 1.4 2008/10/16 20:29:26 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/awesome/awesome-2.3.4.ebuild,v 1.5 2009/02/01 15:16:24 matsuu Exp $
inherit toolchain-funcs eutils
@@ -14,6 +14,7 @@ KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
IUSE="doc gtk"
RDEPEND=">=dev-libs/confuse-2.6
+ x11-libs/cairo
x11-libs/pango
x11-libs/libX11
x11-libs/libXrandr
@@ -31,6 +32,16 @@ DEPEND="${RDEPEND}
media-gfx/graphviz
)"
+pkg_setup() {
+ if ! built_with_use --missing false x11-libs/cairo X ; then
+ eerror "Your x11-libs/cairo packagehas been built without X support,"
+ eerror "please enable the 'X' USE flag and re-emerge x11-libs/cairo."
+ elog "You can enable this USE flag either globally in /etc/make.conf,"
+ elog "or just for specific packages in /etc/portage/package.use."
+ die "x11-libs/cairo missing X support"
+ fi
+}
+
src_compile() {
econf \
$(use_with gtk) \