diff options
author | Hanno Böck <hanno@gentoo.org> | 2007-06-29 17:03:50 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2007-06-29 17:03:50 +0000 |
commit | 359abbef91e6438aa2e9110ee7e3a6b6ee833db0 (patch) | |
tree | e578cc814dcbf671e7ee42e0674b1a575e79ad38 /app-office/scribus/scribus-1.3.3.9.ebuild | |
parent | remove virtual/x11 from DEPEND (diff) | |
download | gentoo-2-359abbef91e6438aa2e9110ee7e3a6b6ee833db0.tar.gz gentoo-2-359abbef91e6438aa2e9110ee7e3a6b6ee833db0.tar.bz2 gentoo-2-359abbef91e6438aa2e9110ee7e3a6b6ee833db0.zip |
scribus cairo/X-check
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'app-office/scribus/scribus-1.3.3.9.ebuild')
-rw-r--r-- | app-office/scribus/scribus-1.3.3.9.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/app-office/scribus/scribus-1.3.3.9.ebuild b/app-office/scribus/scribus-1.3.3.9.ebuild index 7b39ea6204d2..197f4c26e7b8 100644 --- a/app-office/scribus/scribus-1.3.3.9.ebuild +++ b/app-office/scribus/scribus-1.3.3.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.3.3.9.ebuild,v 1.1 2007/05/16 21:25:16 hanno Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.3.3.9.ebuild,v 1.2 2007/06/29 17:03:50 hanno Exp $ inherit qt3 eutils @@ -24,6 +24,13 @@ DEPEND="$(qt_min_version 3.3.4) RDEPEND="${DEPEND} virtual/ghostscript" +pkg_setup() { + if use cairo && ! built_with_use 'x11-libs/cairo' 'X' ; then + eerror "You must build cairo with X support" + die "x11-libs/cairo built without X" + fi +} + src_compile() { econf `use_enable cairo` || die emake || die |