1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

- 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
This commit is contained in:
Florian Smeets 2011-01-25 00:34:25 +00:00
parent db69feb0ab
commit 0247dcd3d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=268196
4 changed files with 38 additions and 20 deletions

View File

@ -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" \

View File

@ -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

View File

@ -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" \

View File

@ -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