svn commit: r424623 - head/devel/ccrtp

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Oct 25 13:20:30 UTC 2016


Author: amdmi3
Date: Tue Oct 25 13:20:28 2016
New Revision: 424623
URL: https://svnweb.freebsd.org/changeset/ports/424623

Log:
  - Fix build on 9.x by propagating c++11 compiler requirement from libcommoncpp
  - Switch to USES=localbase
  
  Approved by:	portmgr blanket

Modified:
  head/devel/ccrtp/Makefile

Modified: head/devel/ccrtp/Makefile
==============================================================================
--- head/devel/ccrtp/Makefile	Tue Oct 25 13:06:55 2016	(r424622)
+++ head/devel/ccrtp/Makefile	Tue Oct 25 13:20:28 2016	(r424623)
@@ -14,22 +14,20 @@ LIB_DEPENDS=	libcommoncpp.so:devel/ucomm
 		libgcrypt.so:security/libgcrypt
 
 GNU_CONFIGURE=	yes
-USES=		gmake gettext libtool iconv pkgconfig
+USES=		compiler:c++11-lib gmake gettext libtool localbase iconv pkgconfig
 USE_LDCONFIG=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LIBS+=		-L${LOCALBASE}/lib
-INFO=	ccrtp
+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'
+	@${FIND} ${WRKSRC} -name Makefile | ${XARGS} \
+		${REINPLACE_CMD} -e 's|-l-pthread|-pthread|g'
 
-post-stage:
-	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libccrtp.so.2.0.6
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libccrtp.so.2.0.6
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list