diff --git a/sysutils/gstopd/Makefile b/sysutils/gstopd/Makefile index 56de024263d3..607c8488975f 100644 --- a/sysutils/gstopd/Makefile +++ b/sysutils/gstopd/Makefile @@ -1,15 +1,21 @@ PORTNAME= gstopd PORTVERSION= 1.1 CATEGORIES= sysutils MASTER_SITES= LOCAL/mr MAINTAINER= mr@FreeBSD.org COMMENT= GEOM stop daemon PLIST_FILES= sbin/gstopd man/man8/gstopd.8.gz +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=unused-but-set-variable +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gstopd ${STAGEDIR}${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/gstopd.8 ${STAGEDIR}${PREFIX}/man/man8 .include