summaryrefslogtreecommitdiffstats
path: root/gnome2-libs/glib2/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'gnome2-libs/glib2/DEPENDS')
-rwxr-xr-xgnome2-libs/glib2/DEPENDS41
1 files changed, 26 insertions, 15 deletions
diff --git a/gnome2-libs/glib2/DEPENDS b/gnome2-libs/glib2/DEPENDS
index 5fc586deb8..726afcbb27 100755
--- a/gnome2-libs/glib2/DEPENDS
+++ b/gnome2-libs/glib2/DEPENDS
@@ -2,6 +2,7 @@
depends pkgconfig &&
depends libffi &&
+depends gettext &&
depends xz-utils &&
if [[ $GLIB_VER == devel ]];then
@@ -13,20 +14,28 @@ if ! spell_installed pkgconfig; then
fi &&
depends perl &&
-optional_depends PYTHON \
- "" \
- "" \
- "Perform post-build testing" &&
-
-optional_depends gettext \
- "" \
- "--with-libiconv=no" \
- "Build with gettext?" &&
-
-optional_depends FAM \
- "--enable-fam" \
- "--disable-fam" \
- "Build with file system monitoring" &&
+# It used to be optional, but cannot be until we figure out what to do
+# about gdbus-codegen. INSTALL fails without python and leaves us
+# without glib2, which can break other serious stuff.
+#optional_depends PYTHON \
+# "--enable-modular-tests" \
+# "--disable-modular-tests" \
+# "Perform post-build testing" &&
+depends PYTHON &&
+
+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" \
@@ -47,4 +56,6 @@ optional_depends libselinux \
optional_depends gtk-doc \
"--enable-gtk-doc" \
"--disable-gtk-doc" \
- "Build documentation with gtk-doc"
+ "Build documentation with gtk-doc" &&
+
+depends zlib