[asterisk/el6/master] make sure that ais support is disabled

Dennis Gilmore ausil at fedoraproject.org
Mon Jan 17 23:45:51 UTC 2011


commit 1b370533d138656b197e9774ed7aa0862db602b6
Author: Dennis Gilmore <dennis at ausil.us>
Date:   Mon Jan 17 17:45:21 2011 -0600

    make sure that ais support is disabled

 asterisk.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/asterisk.spec b/asterisk.spec
index 6800e39..b048c35 100644
--- a/asterisk.spec
+++ b/asterisk.spec
@@ -455,7 +455,12 @@ rm main/fskmodem.c.old
 
 chmod -x contrib/scripts/dbsep.cgi
 
-%if 0%{?rhel} > 0
+# no openais-devel available for el6
+%if 0%{?rhel} == 6
+%{__perl} -pi -e 's/^MENUSELECT_RES=(.*)$/MENUSELECT_RES=\1 res_ais/g' menuselect.makeopts
+%endif
+
+%if 0%{?rhel} == 5
 # Get the autoconf scripts working with 2.59
 %{__perl} -pi -e 's/AC_PREREQ\(2\.60\)/AC_PREREQ\(2\.59\)/g' configure.ac
 %{__perl} -pi -e 's/AC_USE_SYSTEM_EXTENSIONS/AC_GNU_SOURCE/g' configure.ac


More information about the scm-commits mailing list