|
|
发表于 2008-7-7 05:25:41
|
显示全部楼层
@@ -15,11 +15,12 @@
IUSE="xulrunner"
RDEPEND=">=gnome-base/libglade-2.0
- >=x11-libs/gtk+-2.8
- dev-libs/chmlib
- dev-libs/openssl
- xulrunner? ( net-libs/xulrunner )
- !xulrunner? ( >=www-client/mozilla-firefox-1.5.0.7 )"
+ >=x11-libs/gtk+-2.8
+ dev-libs/chmlib
+ dev-libs/openssl
+ xulrunner? ( || ( =net-libs/xulrunner-1.8*
+ =net-libs/xulrunner-bin-1.8.1.15 ) )
+ !xulrunner? ( >=www-client/mozilla-firefox-1.5.0.7 )"
DEPEND="${RDEPEND}"
@@ -28,7 +29,13 @@
if use xulrunner; then
myconf="${myconf} --with-gecko=xulrunner"
else
- myconf="${myconf} --with-gecko=firefox"
+ if has_version '=www-client/mozilla-firefox-3*'; then
+ elog " lease enable 'xulrunner' USE flag since chmsee depends on"
+ elog "xulrunner-1.8, while mozilla-firefox-3 pulls in xulrunner-1.9."
+ die
+ else
+ myconf="${myconf} --with-gecko=firefox"
+ fi
fi |
|