diff --git a/net/nfstrace/Makefile b/net/nfstrace/Makefile index 4682d02e7ce3..0286afa3d1d4 100644 --- a/net/nfstrace/Makefile +++ b/net/nfstrace/Makefile @@ -1,28 +1,28 @@ PORTNAME= nfstrace DISTVERSION= 0.4.3.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net MAINTAINER= ehaupt@FreeBSD.org COMMENT= NFS and CIFS tracing/monitoring/capturing/analyzing tool WWW= https://github.com/epam/nfstrace LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libjson-c.so:devel/json-c USES= cmake localbase:ldflags USE_GITHUB= yes GH_ACCOUNT= epam CMAKE_ARGS+= -DJSON_INCLUDE_DIR="${LOCALBASE}/include/json-c" CFLAGS+= -Wno-deprecated-copy -Wno-format -Wno-unused-function .include .if ${OSVERSION} >= 1600000 EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_protocols_nfs_nfs__procedure.h .endif .include diff --git a/net/nfstrace/files/patch-CMakeLists.txt b/net/nfstrace/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..1e7a94cb2af2 --- /dev/null +++ b/net/nfstrace/files/patch-CMakeLists.txt @@ -0,0 +1,8 @@ +--- CMakeLists.txt.orig 2017-01-31 21:48:12 UTC ++++ CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required (VERSION 2.8.12) ++cmake_minimum_required (VERSION 3.5) + project (nfstrace) + + # check compiler and packages ==================================================