Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2019 19:25:23 +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: r500558 - head/benchmarks/netperfmeter
Message-ID:  <201904301925.x3UJPNSI042648@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Apr 30 19:25:23 2019
New Revision: 500558
URL: https://svnweb.freebsd.org/changeset/ports/500558

Log:
  benchmarks/netperfmeter: fix build with GCC-based architectures
  
  Remove option -Wno-array-bounds from CMakeLists.txt to fix build on GCC architectures.
  
  PR:		237041
  Approved by:	dreibh@iem.uni-due.de (maintainer timeout), mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D20107

Modified:
  head/benchmarks/netperfmeter/Makefile

Modified: head/benchmarks/netperfmeter/Makefile
==============================================================================
--- head/benchmarks/netperfmeter/Makefile	Tue Apr 30 19:23:44 2019	(r500557)
+++ head/benchmarks/netperfmeter/Makefile	Tue Apr 30 19:25:23 2019	(r500558)
@@ -12,14 +12,15 @@ COMMENT=	Network Performance Meter
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN_powerpc64=	fails to compile: unrecognized command line option "-Wno-array-bounds"
-
 USES=		cmake shebangfix
 CMAKE_ON=	BUILD_PLOT_PROGRAMS
 CMAKE_OFF=	BUILD_TEST_PROGRAMS WITH_NEAT
 SHEBANG_FILES=	src/pdfembedfonts src/pdfmetadata src/plot-netperfmeter-results
 
 post-patch:
+.if exists(/usr/lib/libstdc++.so)
+	@${REINPLACE_CMD} 's, -Wno-array-bounds,,g' ${WRKSRC}/CMakeLists.txt
+.endif
 	@${REINPLACE_CMD} 's,share/man,man,' ${WRKSRC}/CMakeLists.txt
 
 .include <bsd.port.mk>



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