b58cd2fcc0
json-c 0.19 added static inline accessors to <json-c/linkhash.h>, which trigger -Wunused-function when building the bundled JSON analyzer with -Werror. Suppress the warning by adding -Wno-unused-function to CFLAGS. Reported by: olgeni Differential Revision: https://reviews.freebsd.org/D58135
29 lines
654 B
Makefile
29 lines
654 B
Makefile
PORTNAME= nfstrace
|
|
DISTVERSION= 0.4.3.2
|
|
PORTREVISION= 4
|
|
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 <bsd.port.options.mk>
|
|
|
|
.if ${OSVERSION} >= 1600000
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src_protocols_nfs_nfs__procedure.h
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|