From c2d7202e2b2ded0039da18f54b571f99a4b137bb Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Tue, 14 Jan 2020 21:30:00 +0000 Subject: net/tcpkali: fix build on GCC architectures Builds fine with C11 compiler. MFH: 2020Q1 (fix build blanket) --- net/tcpkali/Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/net/tcpkali/Makefile b/net/tcpkali/Makefile index 174cf27a7f19..d6d7953fda8b 100644 --- a/net/tcpkali/Makefile +++ b/net/tcpkali/Makefile @@ -12,7 +12,7 @@ LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE GNU_CONFIGURE= yes -USES= autoreconf compiler libtool gmake ncurses +USES= autoreconf compiler:c11 libtool gmake ncurses USE_GITHUB= yes GH_ACCOUNT= machinezone @@ -24,10 +24,4 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 -.include - -.if ${CHOSEN_COMPILER_TYPE} == gcc -BROKEN= is marked as broken with GCC: src/tcpkali_atomic.h unconditionally includes x86 assembler -.endif - -.include +.include -- cgit v1.2.3