--- mozilla-firefox-2.0.ebuild 2006-10-24 23:17:48.291333808 -0500
+++ mozilla-firefox-2.0.ebuild-new 2006-10-25 09:22:47.711983080 -0500
@@ -75,6 +75,12 @@
}
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 use mozbranding; then
einfo "You are enabling official branding. You may not redistribute this build"
einfo "to any users on your network or the internet. Doing so puts yourself into"