aboutsummaryrefslogtreecommitdiff
path: root/devel/ccrtp
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2014-01-09 15:20:50 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2014-01-09 15:20:50 +0000
commit1ac6368d7089624e7413d48f3eefb861c18deff6 (patch)
tree0ffcd948a2fc656b436d01c79d188026759ea1a9 /devel/ccrtp
parent7d549cd7dcab06db4d46732eb0c6cc854a7b44e3 (diff)
Notes
Diffstat (limited to 'devel/ccrtp')
-rw-r--r--devel/ccrtp/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/ccrtp/Makefile b/devel/ccrtp/Makefile
index 00b9f39b3950..a41b240281a8 100644
--- a/devel/ccrtp/Makefile
+++ b/devel/ccrtp/Makefile
@@ -3,13 +3,14 @@
PORTNAME= ccrtp
PORTVERSION= 2.0.6
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= GNU
MAINTAINER= acm@FreeBSD.org
COMMENT= Implementation of the real-time transport protocol
-LIB_DEPENDS= commoncpp:${PORTSDIR}/devel/ucommon \
+LIB_DEPENDS= libcommoncpp.so:${PORTSDIR}/devel/ucommon \
libgcrypt.so:${PORTSDIR}/security/libgcrypt
GNU_CONFIGURE= yes
@@ -20,9 +21,12 @@ CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib -pthread"
CPPFLAGS+= -I${LOCALBASE}/include
INFO= ccrtp
-NO_STAGE= yes
post-patch:
@cd ${WRKSRC}/src && \
${FIND} * -type f -exec ${REINPLACE_CMD} -i "" -e "s|<malloc.h>|<stdlib.h>|g" "{}" \;
+post-configure:
+ ${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
+ ${REINPLACE_CMD} -e 's|-l-pthread|-pthread|g'
+
.include <bsd.port.mk>