svn commit: r500558 - head/benchmarks/netperfmeter

Piotr Kubaj pkubaj at FreeBSD.org
Tue Apr 30 19:25:24 UTC 2019


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 at 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>


More information about the svn-ports-head mailing list