aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-09-14 18:19:05 +0800
committertijl <tijl@FreeBSD.org>2014-09-14 18:19:05 +0800
commit069c6a96a8cd4c776e6e1d805921b8aaf7d0afc6 (patch)
tree88942b19ba9a4632a634996a02ee12169c0e5445 /comms
parentfa3560ebf262bbc38ce410e3459810fffe3582bf (diff)
downloadfreebsd-ports-gnome-069c6a96a8cd4c776e6e1d805921b8aaf7d0afc6.tar.gz
freebsd-ports-gnome-069c6a96a8cd4c776e6e1d805921b8aaf7d0afc6.tar.zst
freebsd-ports-gnome-069c6a96a8cd4c776e6e1d805921b8aaf7d0afc6.zip
comms/spandsp-devel:
- Fix installation of lib/libspandsp.so.2 (when patching configure.ac almost all USE_AUTOTOOLS are needed) - Replace CONFIGURE_ARGS with CPPFLAGS/LIBS Reported by: antoine
Diffstat (limited to 'comms')
-rw-r--r--comms/gstreamer1-plugins-spandsp/Makefile2
-rw-r--r--comms/spandsp-devel/Makefile12
-rw-r--r--comms/spandsp-devel/files/patch-configure.ac10
-rw-r--r--comms/spandsp-devel/pkg-plist1
4 files changed, 9 insertions, 16 deletions
diff --git a/comms/gstreamer1-plugins-spandsp/Makefile b/comms/gstreamer1-plugins-spandsp/Makefile
index cc82fd04ac9f..8ab43117c1a0 100644
--- a/comms/gstreamer1-plugins-spandsp/Makefile
+++ b/comms/gstreamer1-plugins-spandsp/Makefile
@@ -1,6 +1,6 @@
# $FreeBSD$
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= comms
COMMENT= Gstreamer DSP library and software FAX machine plugin
diff --git a/comms/spandsp-devel/Makefile b/comms/spandsp-devel/Makefile
index af68bf3a9766..2179bf3dbbb5 100644
--- a/comms/spandsp-devel/Makefile
+++ b/comms/spandsp-devel/Makefile
@@ -3,7 +3,7 @@
PORTNAME= spandsp
DISTVERSION= 0.0.6pre21
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= comms
MASTER_SITES= http://www.soft-switch.org/downloads/spandsp/
PKGNAMESUFFIX= -devel
@@ -15,11 +15,10 @@ LIB_DEPENDS= libtiff.so:${PORTSDIR}/graphics/tiff
WRKSRC= ${WRKDIR}/spandsp-${DISTVERSION:C/pre.*//}
-USES= gmake libtool pathfix tar:tgz
-USE_AUTOTOOLS= autoconf
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib" -C
+CPPFLAGS+= -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib
+USES= gmake libtool pathfix tar:tgz
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
@@ -40,6 +39,9 @@ USE_GNOME+= libxslt
CONFIGURE_ARGS+=--disable-doc
.endif
+post-patch:
+ @${REINPLACE_CMD} 's/tgmath\.h//' ${WRKSRC}/configure
+
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/comms/spandsp-devel/files/patch-configure.ac b/comms/spandsp-devel/files/patch-configure.ac
deleted file mode 100644
index 25ff48714358..000000000000
--- a/comms/spandsp-devel/files/patch-configure.ac
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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])
diff --git a/comms/spandsp-devel/pkg-plist b/comms/spandsp-devel/pkg-plist
index 8a90d095d292..5f4fb2bfe2b5 100644
--- a/comms/spandsp-devel/pkg-plist
+++ b/comms/spandsp-devel/pkg-plist
@@ -143,6 +143,7 @@ include/spandsp/vector_int.h
include/spandsp/version.h
lib/libspandsp.a
lib/libspandsp.so
+lib/libspandsp.so.2
lib/libspandsp.so.2.0.0
libdata/pkgconfig/spandsp.pc
@dirrm include/spandsp/private