Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2019 11:57:18 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r507630 - head/net-p2p/libswift
Message-ID:  <201907301157.x6UBvIAg038308@repo.freebsd.org>

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



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