e59c88cece
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
33 lines
794 B
Makefile
33 lines
794 B
Makefile
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ccrtp
|
|
PORTVERSION= 2.0.9
|
|
PORTREVISION= 4
|
|
CATEGORIES= devel
|
|
MASTER_SITES= GNU
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Implementation of the real-time transport protocol
|
|
|
|
LIB_DEPENDS= libcommoncpp.so:devel/ucommon \
|
|
libgcrypt.so:security/libgcrypt
|
|
|
|
GNU_CONFIGURE= yes
|
|
USES= compiler:c++11-lib gmake gettext libtool localbase iconv pkgconfig
|
|
USE_LDCONFIG= yes
|
|
|
|
INFO= ccrtp
|
|
|
|
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'
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libccrtp.so.2.0.6
|
|
|
|
.include <bsd.port.mk>
|