diff options
author | pkubaj <pkubaj@FreeBSD.org> | 2019-07-30 19:57:18 +0800 |
---|---|---|
committer | pkubaj <pkubaj@FreeBSD.org> | 2019-07-30 19:57:18 +0800 |
commit | 7ed8e7f3d9d5463458728840b27f576a82511601 (patch) | |
tree | 632dc35fdfba8b17855282c7008a063aedeb40d4 /net-p2p | |
parent | 642109dde76323caedf3f4e8fe70f3fcc1ea17a0 (diff) | |
download | freebsd-ports-gnome-7ed8e7f3d9d5463458728840b27f576a82511601.tar.gz freebsd-ports-gnome-7ed8e7f3d9d5463458728840b27f576a82511601.tar.zst freebsd-ports-gnome-7ed8e7f3d9d5463458728840b27f576a82511601.zip |
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
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/libswift/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/net-p2p/libswift/Makefile b/net-p2p/libswift/Makefile index d135a715a34b..57ed9c2d8358 100644 --- a/net-p2p/libswift/Makefile +++ b/net-p2p/libswift/Makefile @@ -10,13 +10,9 @@ COMMENT= IETF Peer-to-Peer Streaming Peer Protocol implementation 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 @@ -46,6 +42,9 @@ 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} \ ${STAGEDIR}${SWIFT_SHAREDIR} \ |