summaryrefslogtreecommitdiff
path: root/comms/spandsp
diff options
context:
space:
mode:
authorChris Rees <crees@FreeBSD.org>2012-09-01 17:18:41 +0000
committerChris Rees <crees@FreeBSD.org>2012-09-01 17:18:41 +0000
commite667a14c171c7094813c036dfa189e2dde23f993 (patch)
tree1173e331c7a1dd38e61039fde75927a351c147f9 /comms/spandsp
parentAdd "modified" tag to the Java 7 entry (diff)
Fix build on FreeBSD 10
PR: ports/167985 (based on) Submitted by: truckman Obtained from: comms/spandsp-devel
Notes
Notes: svn path=/head/; revision=303500
Diffstat (limited to 'comms/spandsp')
-rw-r--r--comms/spandsp/Makefile2
-rw-r--r--comms/spandsp/files/patch-configure.ac10
2 files changed, 11 insertions, 1 deletions
diff --git a/comms/spandsp/Makefile b/comms/spandsp/Makefile
index 113d6c9e4809..77d09a389458 100644
--- a/comms/spandsp/Makefile
+++ b/comms/spandsp/Makefile
@@ -18,7 +18,7 @@ COMMENT= A DSP library and software FAX machine
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff
GNU_CONFIGURE= yes
-USE_AUTOTOOLS= libtool
+USE_AUTOTOOLS= libtool autoconf
USE_GMAKE= yes
CPPFLAGS+= -I${LOCALBASE}/include
diff --git a/comms/spandsp/files/patch-configure.ac b/comms/spandsp/files/patch-configure.ac
new file mode 100644
index 000000000000..25ff48714358
--- /dev/null
+++ b/comms/spandsp/files/patch-configure.ac
@@ -0,0 +1,10 @@
+--- configure.ac.orig 2012-09-01 12:05:10.795461874 +0100
++++ configure.ac 2012-09-01 12:05:47.473457036 +0100
+@@ -194,7 +194,6 @@
+ AC_CHECK_HEADERS([string.h])
+ AC_CHECK_HEADERS([strings.h])
+ AC_CHECK_HEADERS([malloc.h])
+-AC_CHECK_HEADERS([tgmath.h], [INSERT_TGMATH_HEADER="#include <tgmath.h>"])
+ AC_CHECK_HEADERS([math.h], [INSERT_MATH_HEADER="#include <math.h>"])
+ AC_CHECK_HEADERS([float.h])
+ AC_CHECK_HEADERS([fcntl.h])