freebsd-ports/net/asterisk/files/patch-configure
Florian Smeets 0457f174a1 - update net/asterisk to 1.8.21.0
- update net/asterisk11 to 11.3.0
- add -F to command_args in the rc script, this ensures that asterisk
  detaches from the controlling terminal. It was possible for the asterisk
  rc script to prevent a box from reaching full multiuser if e.g. -v was
  passed to command_args. [1]

Reported by:	Kurt Lidl <lidl@pix.net>
2013-04-22 21:11:34 +00:00

41 lines
1.2 KiB
Text

--- configure.orig 2013-01-30 18:44:11.000000000 +0100
+++ configure 2013-04-20 10:54:05.213563665 +0200
@@ -4680,9 +4680,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'
@@ -4705,8 +4705,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
@@ -18262,6 +18260,8 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
+ #include <sys/types.h>
+ #include <sys/socket.h>
#include <ifaddrs.h>
int
main ()
@@ -25941,7 +25941,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:${as_lineno-$LINENO}: checking OpenH323 installation validity" >&5