summaryrefslogtreecommitdiffstats
path: root/gnome2-libs/glib2/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'gnome2-libs/glib2/DEPENDS')
-rwxr-xr-xgnome2-libs/glib2/DEPENDS17
1 files changed, 13 insertions, 4 deletions
diff --git a/gnome2-libs/glib2/DEPENDS b/gnome2-libs/glib2/DEPENDS
index 5683e6522d..b24ac4d372 100755
--- a/gnome2-libs/glib2/DEPENDS
+++ b/gnome2-libs/glib2/DEPENDS
@@ -23,10 +23,19 @@ optional_depends gettext \
"--with-libiconv=no" \
"Build with gettext?" &&
-optional_depends FAM \
- "--enable-fam" \
- "--disable-fam" \
- "Build with file system monitoring" &&
+if spell_ok $SPELL; then
+ optional_depends FAM \
+ "--enable-fam" \
+ "--disable-fam" \
+ "Build with file system monitoring"
+else
+ message "${MESSAGE_COLOR}NOTE: spell $SPELL isn't installed yet, FAM provider unavailable.${DEFAULT_COLOR}" &&
+
+ optional_depends fam \
+ "--enable-fam" \
+ "--disable-fam" \
+ "Build with file system monitoring"
+fi &&
optional_depends -sub UTFPROP pcre \
"--with-pcre=system" \