summaryrefslogtreecommitdiffstats
path: root/http/seamonkey/PRE_BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'http/seamonkey/PRE_BUILD')
-rwxr-xr-xhttp/seamonkey/PRE_BUILD35
1 files changed, 24 insertions, 11 deletions
diff --git a/http/seamonkey/PRE_BUILD b/http/seamonkey/PRE_BUILD
index d3cf3c6014..7808c052e0 100755
--- a/http/seamonkey/PRE_BUILD
+++ b/http/seamonkey/PRE_BUILD
@@ -5,34 +5,47 @@ cd comm-1.9.1 &&
cp -v $SPELL_DIRECTORY/blfs-mozconfig .mozconfig &&
-#cp -v $SPELL_DIRECTORY/blfs-mozconfig mozilla/.mozconfig &&
-
if [[ "$SEAMONKEY_CAIRO" == "y" ]]; then
- sed -i '85iac_add_options --enable-system-cairo' .mozconfig
+ sed -i '78iac_add_options --enable-system-cairo' .mozconfig
else
- sed -i '85iac_add_options --disable-system-cairo' .mozconfig
+ sed -i '78iac_add_options --disable-system-cairo' .mozconfig
fi &&
if [[ "$SEAMONKEY_MAILNEWS" == "n" ]]; then
- sed -i '85iac_add_options --disable-mailnews' .mozconfig
+ sed -i '78iac_add_options --disable-mailnews' .mozconfig
fi &&
if [[ "$SEAMONKEY_COMPOSER" == "n" ]]; then
- sed -i '85iac_add_options --disable-composer' .mozconfig
+ sed -i '78iac_add_options --disable-composer' .mozconfig
fi &&
if [[ "$SEAMONKEY_JS" == "y" ]]; then
- sed -i '85iac_add_options --enable-xpctools' .mozconfig
+ sed -i '78iac_add_options --enable-xpctools' .mozconfig
else
- sed -i '85iac_add_options --disable-xpctools' .mozconfig
+ sed -i '78iac_add_options --disable-xpctools' .mozconfig
fi &&
if [[ "$SEAMONKEY_XINERAMA" == "y" ]]; then
- sed -i '85iac_add_options --enable-xinerama' .mozconfig
+ sed -i '78iac_add_options --enable-xinerama' .mozconfig
fi &&
if [[ "$SEAMONKEY_PANGO" == "y" ]]; then
- sed -i '85iac_add_options --enable-pango' .mozconfig
-fi
+ sed -i '78iac_add_options --enable-pango' .mozconfig
+fi &&
+
+if is_depends_enabled $SPELL openldap; then
+ sed -i '78iac_add_options --enable-ldap' .mozconfig
+else
+ sed -i '78iac_add_options --disable-ldap' .mozconfig
+fi &&
+
+if ! is_depends_enabled $SPELL alsa-lib; then
+ sed -i '78iac_add_options --disable-ogg' .mozconfig &&
+ sed -i '78iac_add_options --disable-wave' .mozconfig
+fi &&
+
+# GNOME support is broken (at least for download manager)
+echo "ac_add_options --disable-gnomeui" >> .mozconfig &&
+echo "ac_add_options --disable-gnomevfs" >> .mozconfig &&
echo "ac_add_options --disable-crashreporter" >> .mozconfig