aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSardem FF7 <sardemff7.pub@gmail.com>2011-05-27 11:36:03 +0200
committerSardem FF7 <sardemff7.pub@gmail.com>2011-05-27 11:36:03 +0200
commit8580c96c0f8b6f0419a40b288e21387c322561d5 (patch)
tree14ade9e1feec39f0f3a0ab3ae6ce5854008899b2 /eclass
parentmozilla-scm.eclass: XUL major version bump (diff)
downloadsardemff7-8580c96c0f8b6f0419a40b288e21387c322561d5.tar.gz
sardemff7-8580c96c0f8b6f0419a40b288e21387c322561d5.tar.bz2
sardemff7-8580c96c0f8b6f0419a40b288e21387c322561d5.zip
mozilla-scm.eclass: Fix mozdom flag
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mozilla-scm.eclass21
1 files changed, 14 insertions, 7 deletions
diff --git a/eclass/mozilla-scm.eclass b/eclass/mozilla-scm.eclass
index 33f868c..2d1117f 100644
--- a/eclass/mozilla-scm.eclass
+++ b/eclass/mozilla-scm.eclass
@@ -56,6 +56,11 @@ EXPORT_FUNCTIONS pkg_setup src_unpack src_configure src_install pkg_postinst
RDEPEND=""
[ "${PN}" != "nspr" ] && RDEPEND+="~dev-libs/nspr-9999"
if [ -n "${MOZ_APPLICATION}" ]; then
+ IUSE="mozdom"
+
+ DEPEND="
+ meta-sync/mozilla-repositories[mozdom=]
+ "
RDEPEND+="
x11-libs/libXrender
x11-libs/libXt
@@ -63,15 +68,17 @@ if [ -n "${MOZ_APPLICATION}" ]; then
>=sys-libs/zlib-1.1.4
"
- IUSE="mozdom"
- if ! ${IS_LIBXUL}; then
- RDEPEND+="~net-libs/xulrunner-9999[libnotify=,mozdom=,raw=,system-sqlite=,webm=,wifi=]"
- fi
+ ${IS_LIBXUL} || \
+ RDEPEND+="
+ ~net-libs/xulrunner-9999[libnotify=,mozdom=,raw=,system-sqlite=,webm=,wifi=]
+ "
+else
+ DEPEND="
+ meta-sync/mozilla-repositories
+ "
fi
-DEPEND="${RDEPEND}
- meta-sync/mozilla-repositories[mozdom=]
-
+DEPEND+="${RDEPEND}
app-arch/zip
dev-util/pkgconfig
=dev-lang/python-2*[threads]