aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk11/files/patch-configure
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2012-11-26 23:20:41 +0000
committerFlorian Smeets <flo@FreeBSD.org>2012-11-26 23:20:41 +0000
commit8d1ed531dafb86924486f0b2832509e8b3593939 (patch)
treeab8cec59d46a303db6f96244ace6f2dea4cb67eb /net/asterisk11/files/patch-configure
parentb2604ab826691c6c66f1207b0e0f50a00d7321ff (diff)
downloadports-8d1ed531dafb86924486f0b2832509e8b3593939.tar.gz
ports-8d1ed531dafb86924486f0b2832509e8b3593939.zip
Add Asterisk 11 a new LTS version.
Tested by: wishmaster <artemrts@ukr.net> Feature safe: yes
Notes
Notes: svn path=/head/; revision=307810
Diffstat (limited to 'net/asterisk11/files/patch-configure')
-rw-r--r--net/asterisk11/files/patch-configure41
1 files changed, 41 insertions, 0 deletions
diff --git a/net/asterisk11/files/patch-configure b/net/asterisk11/files/patch-configure
new file mode 100644
index 000000000000..298cba379fe6
--- /dev/null
+++ b/net/asterisk11/files/patch-configure
@@ -0,0 +1,41 @@
+--- configure.orig 2012-09-20 20:18:47.000000000 +0200
++++ configure 2012-11-05 14:23:17.172817463 +0100
+@@ -4576,9 +4576,9 @@
+ astlibdir='${libdir}'
+ astmoddir='${libdir}/asterisk/modules'
+ 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'
+@@ -4601,8 +4601,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
+@@ -17763,6 +17761,8 @@
+
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
++ #include <sys/types.h>
++ #include <sys/socket.h>
+ #include <ifaddrs.h>
+ int
+ main ()
+@@ -25968,7 +25968,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