summaryrefslogtreecommitdiff
path: root/net/asterisk11/files/patch-configure
diff options
context:
space:
mode:
authorGuido Falsi <madpilot@FreeBSD.org>2014-07-29 22:52:49 +0000
committerGuido Falsi <madpilot@FreeBSD.org>2014-07-29 22:52:49 +0000
commitbe48c3849bcde9597e4b8c90143116b1da1d18c1 (patch)
treea5fbedee5952e4f67eeaf3fa72569126fc385fd1 /net/asterisk11/files/patch-configure
parentFix build without gcc. (diff)
- Update net/asterisk to 1.8.29.0
- Update net/asterisk11 to 11.11.0 - Take maintainership [1] - Add missing ODBC option to OPTIONS_DEFINE [2] - Convert ports to using option helpers - Fix LUA option PR: 192226 [2] Submitted by: m.tsatsenko at gmail.com Approved by: flo (previous maintainer) [1]
Diffstat (limited to 'net/asterisk11/files/patch-configure')
-rw-r--r--net/asterisk11/files/patch-configure90
1 files changed, 84 insertions, 6 deletions
diff --git a/net/asterisk11/files/patch-configure b/net/asterisk11/files/patch-configure
index 0fdfff4a6fac..1be4c2908f13 100644
--- a/net/asterisk11/files/patch-configure
+++ b/net/asterisk11/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig 2013-01-30 18:46:52.000000000 +0100
-+++ configure 2013-04-20 10:55:21.078558716 +0200
-@@ -4571,9 +4571,9 @@
+--- configure.orig 2014-06-21 01:14:52.000000000 +0200
++++ configure 2014-07-29 23:59:12.060900744 +0200
+@@ -4616,9 +4616,9 @@
astlibdir='${libdir}'
astmoddir='${libdir}/asterisk/modules'
astmandir='${mandir}'
@@ -12,7 +12,7 @@
astkeydir='${astvarlibdir}'
astspooldir='${localstatedir}/spool/asterisk'
astlogdir='${localstatedir}/log/asterisk'
-@@ -4596,8 +4596,6 @@
+@@ -4641,8 +4641,6 @@
case "${host_os}" in
freebsd*)
ac_default_prefix=/usr/local
@@ -21,7 +21,7 @@
;;
openbsd*)
ac_default_prefix=/usr/local
-@@ -17840,6 +17838,8 @@
+@@ -18084,6 +18082,8 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -30,7 +30,7 @@
#include <ifaddrs.h>
int
main ()
-@@ -26041,7 +26041,7 @@
+@@ -26385,7 +26385,7 @@
fi
@@ -39,3 +39,81 @@
if test "${HAS_OPENH323:-unset}" != "unset"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenH323 installation validity" >&5
+@@ -26483,13 +26483,13 @@
+ ast_ext_lib_check_save_CFLAGS="${CFLAGS}"
+ CFLAGS="${CFLAGS} "
+ as_ac_Lib=`$as_echo "ac_cv_lib_lua5.2_${pbxfuncname}" | $as_tr_sh`
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -llua5.2" >&5
+-$as_echo_n "checking for ${pbxfuncname} in -llua5.2... " >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -llua-5.2" >&5
++$as_echo_n "checking for ${pbxfuncname} in -llua-5.2... " >&6; }
+ if eval \${$as_ac_Lib+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-llua5.2 ${pbxlibdir} -lm $LIBS"
++LIBS="-llua-5.2 ${pbxlibdir} -lm $LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+@@ -26531,18 +26531,18 @@
+
+ # now check for the header.
+ if test "${AST_LUA_FOUND}" = "yes"; then
+- LUA_LIB="${pbxlibdir} -llua5.2 -lm"
++ LUA_LIB="${pbxlibdir} -llua-5.2 -lm"
+ # if --with-LUA=DIR has been specified, use it.
+ if test "x${LUA_DIR}" != "x"; then
+ LUA_INCLUDE="-I${LUA_DIR}/include"
+ fi
+ LUA_INCLUDE="${LUA_INCLUDE} "
+- if test "xlua5.2/lua.h" = "x" ; then # no header, assume found
++ if test "xlua52/lua.h" = "x" ; then # no header, assume found
+ LUA_HEADER_FOUND="1"
+ else # check for the header
+ ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}"
+ CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}"
+- ac_fn_c_check_header_mongrel "$LINENO" "lua5.2/lua.h" "ac_cv_header_lua5_2_lua_h" "$ac_includes_default"
++ ac_fn_c_check_header_mongrel "$LINENO" "lua52/lua.h" "ac_cv_header_lua5_2_lua_h" "$ac_includes_default"
+ if test "x$ac_cv_header_lua5_2_lua_h" = xyes; then :
+ LUA_HEADER_FOUND=1
+ else
+@@ -26595,13 +26595,13 @@
+ ast_ext_lib_check_save_CFLAGS="${CFLAGS}"
+ CFLAGS="${CFLAGS} "
+ as_ac_Lib=`$as_echo "ac_cv_lib_lua5.1_${pbxfuncname}" | $as_tr_sh`
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -llua5.1" >&5
+-$as_echo_n "checking for ${pbxfuncname} in -llua5.1... " >&6; }
++{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${pbxfuncname} in -llua-5.1" >&5
++$as_echo_n "checking for ${pbxfuncname} in -llua-5.1... " >&6; }
+ if eval \${$as_ac_Lib+:} false; then :
+ $as_echo_n "(cached) " >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-llua5.1 ${pbxlibdir} -lm $LIBS"
++LIBS="-llua-5.1 ${pbxlibdir} -lm $LIBS"
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
+
+@@ -26643,18 +26643,18 @@
+
+ # now check for the header.
+ if test "${AST_LUA_FOUND}" = "yes"; then
+- LUA_LIB="${pbxlibdir} -llua5.1 -lm"
++ LUA_LIB="${pbxlibdir} -llua-5.1 -lm"
+ # if --with-LUA=DIR has been specified, use it.
+ if test "x${LUA_DIR}" != "x"; then
+ LUA_INCLUDE="-I${LUA_DIR}/include"
+ fi
+ LUA_INCLUDE="${LUA_INCLUDE} "
+- if test "xlua5.1/lua.h" = "x" ; then # no header, assume found
++ if test "xlua51/lua.h" = "x" ; then # no header, assume found
+ LUA_HEADER_FOUND="1"
+ else # check for the header
+ ast_ext_lib_check_saved_CPPFLAGS="${CPPFLAGS}"
+ CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}"
+- ac_fn_c_check_header_mongrel "$LINENO" "lua5.1/lua.h" "ac_cv_header_lua5_1_lua_h" "$ac_includes_default"
++ ac_fn_c_check_header_mongrel "$LINENO" "lua51/lua.h" "ac_cv_header_lua5_1_lua_h" "$ac_includes_default"
+ if test "x$ac_cv_header_lua5_1_lua_h" = xyes; then :
+ LUA_HEADER_FOUND=1
+ else