diff options
author | Florian Smeets <flo@FreeBSD.org> | 2011-01-25 00:34:25 +0000 |
---|---|---|
committer | Florian Smeets <flo@FreeBSD.org> | 2011-01-25 00:34:25 +0000 |
commit | 0247dcd3d7d5310f2aa4b38af20813c535e5f7f7 (patch) | |
tree | a87051a0f5f4e51269bee654aaa06c3cfaf68f29 /net/asterisk | |
parent | db69feb0ab7f40e0069a9136f504ac50364150c1 (diff) | |
download | ports-0247dcd3d7d5310f2aa4b38af20813c535e5f7f7.tar.gz ports-0247dcd3d7d5310f2aa4b38af20813c535e5f7f7.zip |
- add powerpc to ONLY_FOR_ARCHS [1]
- help configure find getifaddrs() [2]
PR: ports/154150 [2]
Submitted by: Dan Lukes <dan@obluda.cz> [2]
Tested by: andreast [1]
Feature safe: yes
Notes
Notes:
svn path=/head/; revision=268196
Diffstat (limited to 'net/asterisk')
-rw-r--r-- | net/asterisk/Makefile | 2 | ||||
-rw-r--r-- | net/asterisk/files/patch-configure | 27 |
2 files changed, 19 insertions, 10 deletions
diff --git a/net/asterisk/Makefile b/net/asterisk/Makefile index 3d070243f7e3..820e8e0ec558 100644 --- a/net/asterisk/Makefile +++ b/net/asterisk/Makefile @@ -20,7 +20,7 @@ LIB_DEPENDS= speex.1:${PORTSDIR}/audio/speex \ execinfo:${PORTSDIR}/devel/libexecinfo RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 -ONLY_FOR_ARCHS= i386 amd64 sparc64 +ONLY_FOR_ARCHS= i386 amd64 powerpc sparc64 GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/openh323" \ diff --git a/net/asterisk/files/patch-configure b/net/asterisk/files/patch-configure index 0e57fa33bdf4..1b5bf55ded99 100644 --- a/net/asterisk/files/patch-configure +++ b/net/asterisk/files/patch-configure @@ -1,14 +1,14 @@ ---- configure.orig 2010-11-09 21:33:05.000000000 +0100 -+++ configure 2010-12-29 09:00:30.000000000 +0100 -@@ -600,7 +600,6 @@ +--- configure.orig 2011-01-25 00:37:33.000000000 +0100 ++++ configure 2011-01-25 00:39:33.000000000 +0100 +@@ -621,7 +621,6 @@ ac_default_prefix=/usr/local ac_default_prefix=/usr/local ac_default_prefix=/usr/local -ac_default_prefix=/usr ac_header_list= - ac_subst_vars='LTLIBOBJS - PBX_SYSLOG -@@ -4670,9 +4669,9 @@ + ac_subst_vars='SHELL + PATH_SEPARATOR +@@ -4279,9 +4278,9 @@ astheaderdir='${includedir}/asterisk' astlibdir='${libdir}/asterisk' astmandir='${mandir}' @@ -20,7 +20,7 @@ astkeydir='${astvarlibdir}' astspooldir='${localstatedir}/spool/asterisk' astlogdir='${localstatedir}/log/asterisk' -@@ -4694,9 +4693,6 @@ +@@ -4303,9 +4302,6 @@ case "${host_os}" in freebsd*) @@ -30,7 +30,16 @@ ;; openbsd*) -@@ -25152,7 +25148,7 @@ +@@ -27494,6 +27490,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 () +@@ -45012,7 +45010,7 @@ fi @@ -38,4 +47,4 @@ + PLATFORM_OPENH323="h323_${OPENH323_SUFFIX}" if test "${HAS_OPENH323:-unset}" != "unset"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking OpenH323 installation validity" >&5 + { echo "$as_me:$LINENO: checking OpenH323 installation validity" >&5 |