summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-06-21 21:13:09 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-06-21 21:13:09 +0000
commit91e9382f7760b1a9b08c51b416ab85ddd3627eec (patch)
treedd977206d8e1adb63a58e0fb40bc63da7053cfd1 /net-libs
parentStable on ppc64; bug #227197 (diff)
downloadgentoo-2-91e9382f7760b1a9b08c51b416ab85ddd3627eec.tar.gz
gentoo-2-91e9382f7760b1a9b08c51b416ab85ddd3627eec.tar.bz2
gentoo-2-91e9382f7760b1a9b08c51b416ab85ddd3627eec.zip
Add check for pango and cairo to be built with X, bug #228801
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/xulrunner/ChangeLog5
-rw-r--r--net-libs/xulrunner/xulrunner-1.8.1.14.ebuild16
2 files changed, 19 insertions, 2 deletions
diff --git a/net-libs/xulrunner/ChangeLog b/net-libs/xulrunner/ChangeLog
index 94791ec9af31..d688f5dd23ff 100644
--- a/net-libs/xulrunner/ChangeLog
+++ b/net-libs/xulrunner/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-libs/xulrunner
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.120 2008/06/20 15:03:42 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/ChangeLog,v 1.121 2008/06/21 21:13:09 armin76 Exp $
+
+ 21 Jun 2008; Raúl Porcel <armin76@gentoo.org> xulrunner-1.8.1.14.ebuild:
+ Add check for pango and cairo to be built with X, bug #228801
20 Jun 2008; Raúl Porcel <armin76@gentoo.org> xulrunner-1.9-r2.ebuild:
Add check for pango and cairo to be built with X, bug #228451
diff --git a/net-libs/xulrunner/xulrunner-1.8.1.14.ebuild b/net-libs/xulrunner/xulrunner-1.8.1.14.ebuild
index be0636616b5b..5176384d0e24 100644
--- a/net-libs/xulrunner/xulrunner-1.8.1.14.ebuild
+++ b/net-libs/xulrunner/xulrunner-1.8.1.14.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-1.8.1.14.ebuild,v 1.6 2008/04/22 16:12:14 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/xulrunner/xulrunner-1.8.1.14.ebuild,v 1.7 2008/06/21 21:13:09 armin76 Exp $
WANT_AUTOCONF="2.1"
@@ -36,6 +36,20 @@ export MOZ_CO_PROJECT=xulrunner
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
+pkg_setup(){
+ if ! built_with_use x11-libs/cairo X; then
+ eerror "Cairo is not built with X useflag."
+ eerror "Please add 'X' to your USE flags, and re-emerge cairo."
+ die "Cairo needs X"
+ fi
+
+ if ! built_with_use --missing true x11-libs/pango X; then
+ eerror "Pango is not built with X useflag."
+ eerror "Please add 'X' to your USE flags, and re-emerge pango."
+ die "Pango needs X"
+ fi
+}
+
src_unpack() {
unpack ${P}-source.tar.bz2 ${PATCH}.tar.bz2