summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2006-10-25 15:27:27 +0000
committerDoug Goldstein <cardoe@gentoo.org>2006-10-25 15:27:27 +0000
commit7301e85ad027393135c1f34767826472c084a0b9 (patch)
treee88b82fba2225cba9fe4ca7a9057c8dca3d9c5b1 /www-client/mozilla-firefox/mozilla-firefox-1.5.0.7.ebuild
parentStable on sparc (diff)
downloadgentoo-2-7301e85ad027393135c1f34767826472c084a0b9.tar.gz
gentoo-2-7301e85ad027393135c1f34767826472c084a0b9.tar.bz2
gentoo-2-7301e85ad027393135c1f34767826472c084a0b9.zip
Anarchy's Changes: Fixed bug #152641 for 1.5.0.7 & 2.0. Removed 1.0.x series. Removed 2.x RCs. Cleaned up old files.
(Portage version: 2.1.2_pre3-r8)
Diffstat (limited to 'www-client/mozilla-firefox/mozilla-firefox-1.5.0.7.ebuild')
-rw-r--r--www-client/mozilla-firefox/mozilla-firefox-1.5.0.7.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/www-client/mozilla-firefox/mozilla-firefox-1.5.0.7.ebuild b/www-client/mozilla-firefox/mozilla-firefox-1.5.0.7.ebuild
index e922325a4bd6..441984ec603b 100644
--- a/www-client/mozilla-firefox/mozilla-firefox-1.5.0.7.ebuild
+++ b/www-client/mozilla-firefox/mozilla-firefox-1.5.0.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.5.0.7.ebuild,v 1.8 2006/10/03 02:11:44 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/mozilla-firefox/mozilla-firefox-1.5.0.7.ebuild,v 1.9 2006/10/25 15:27:27 cardoe Exp $
unset ALLOWED_FLAGS # stupid extra-functions.sh ... bug 49179
@@ -78,6 +78,14 @@ linguas() {
done
}
+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
+}
+
src_unpack() {
unpack firefox-${PV}-source.tar.bz2 ${P}-patches-${PVER}.tar.bz2