diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-04-30 19:25:23 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2019-04-30 19:25:23 +0000 |
commit | 658cf59991eb984f791d5e7e48c521a1b5cbe105 (patch) | |
tree | 4953361a7aec2cb87e369835fd0d357354e79672 /benchmarks/netperfmeter | |
parent | e92429d6e6fa3c43745440f5bd3eb55dd66fbd8d (diff) | |
download | ports-658cf59991eb984f791d5e7e48c521a1b5cbe105.tar.gz ports-658cf59991eb984f791d5e7e48c521a1b5cbe105.zip |
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
Notes
Notes:
svn path=/head/; revision=500558
Diffstat (limited to 'benchmarks/netperfmeter')
-rw-r--r-- | benchmarks/netperfmeter/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/benchmarks/netperfmeter/Makefile b/benchmarks/netperfmeter/Makefile index 3863e16e7d2d..66af8f266012 100644 --- a/benchmarks/netperfmeter/Makefile +++ b/benchmarks/netperfmeter/Makefile @@ -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> |