svn commit: r507630 - head/net-p2p/libswift
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Jul 30 11:57:19 UTC 2019
Author: pkubaj
Date: Tue Jul 30 11:57:18 2019
New Revision: 507630
URL: https://svnweb.freebsd.org/changeset/ports/507630
Log:
net-p2p/libswift: fix build on GCC-based architectures
Respect CXX and use a new GCC from ports to fix this port on GCC architectures.
PR: 238722
Approved by: dch (maintainer), linimon (mentor)
Differential Revision: https://reviews.freebsd.org/D20890
Modified:
head/net-p2p/libswift/Makefile
Modified: head/net-p2p/libswift/Makefile
==============================================================================
--- head/net-p2p/libswift/Makefile Tue Jul 30 09:02:22 2019 (r507629)
+++ head/net-p2p/libswift/Makefile Tue Jul 30 11:57:18 2019 (r507630)
@@ -10,13 +10,9 @@ COMMENT= IETF Peer-to-Peer Streaming Peer Protocol im
LICENSE= LGPL21
-BROKEN_mips= fails to build: gmake: clang++: Command not found
-BROKEN_mips64= fails to build: gmake: clang++: Command not found
-BROKEN_powerpc64= fails to build: gmake: clang++: Command not found
-
LIB_DEPENDS= libevent.so:devel/libevent
-USES= gmake ssl
+USES= compiler:c++11-lang gmake ssl
USE_GITHUB= yes
GH_ACCOUNT= skunkwerks
@@ -45,6 +41,9 @@ USE_RC_SUBR= ${PORTNAME}
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
+
+post-patch:
+ ${REINPLACE_CMD} -e 's/CXX=clang++/CXX?=clang++/' ${WRKSRC}/Makefile
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR} \
More information about the svn-ports-all
mailing list