aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk/files/patch-configure
blob: 4712b202b0450b22867c85a15082e992ada8cfa1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
--- configure.orig  2012-08-09 20:58:44.000000000 +0200
+++ configure   2012-10-09 00:23:16.383254715 +0200
@@ -4419,9 +4419,9 @@
 astheaderdir='${includedir}/asterisk'
 astlibdir='${libdir}/asterisk'
 astmandir='${mandir}'
-astvarlibdir='${localstatedir}/lib/asterisk'
+astvarlibdir='${prefix}/share/asterisk'
 astdatadir='${astvarlibdir}'
-astdbdir='${astvarlibdir}'
+astdbdir='${localstatedir}/db/asterisk'
 astkeydir='${astvarlibdir}'
 astspooldir='${localstatedir}/spool/asterisk'
 astlogdir='${localstatedir}/log/asterisk'
@@ -4444,8 +4444,6 @@
 case "${host_os}" in
      freebsd*)
      ac_default_prefix=/usr/local
-     CPPFLAGS=-I/usr/local/include
-     LDFLAGS=-L/usr/local/lib
      ;;
      openbsd*)
      ac_default_prefix=/usr/local
@@ -29734,6 +29732,8 @@
 cat confdefs.h >>conftest.$ac_ext
 cat >>conftest.$ac_ext <<_ACEOF
 /* end confdefs.h.  */
+#include <sys/types.h>
+#include <sys/socket.h>
 #include <ifaddrs.h>
 int
 main ()
@@ -47845,7 +47845,7 @@
 
    fi
 
-   PLATFORM_OPENH323="h323_${PWLIB_PLATFORM}_${OPENH323_SUFFIX}"
+   PLATFORM_OPENH323="h323_${OPENH323_SUFFIX}"
 
    if test "${HAS_OPENH323:-unset}" != "unset"; then
       { $as_echo "$as_me:$LINENO: checking OpenH323 installation validity" >&5