6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
32 lines
710 B
Makefile
32 lines
710 B
Makefile
# New ports collection makefile for: ccrtp
|
|
# Date created: 2006-04-22
|
|
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ccrtp
|
|
PORTVERSION= 1.7.1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= GNU
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= Implementation of the real-time transport protocol
|
|
|
|
LIB_DEPENDS= ccgnu2-1.7.0:${PORTSDIR}/devel/commoncpp
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_GNOME= pkgconfig
|
|
USE_LDCONFIG= yes
|
|
|
|
CONFIGURE_ENV= LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
|
|
CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
|
INFO= ccrtp
|
|
|
|
post-patch:
|
|
@cd ${WRKSRC}/src && \
|
|
${FIND} * -type f -exec ${REINPLACE_CMD} -i "" -e "s|<malloc.h>|<stdlib.h>|g" "{}" \;
|
|
|
|
.include <bsd.port.mk>
|