Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2016 13:20:29 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424623 - head/devel/ccrtp
Message-ID:  <201610251320.u9PDKThM082383@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610251320.u9PDKThM082383>