diff --git a/security/mate-pam-helper/Makefile b/security/mate-pam-helper/Makefile index 58d26bce1548..46ef0b1c5dad 100644 --- a/security/mate-pam-helper/Makefile +++ b/security/mate-pam-helper/Makefile @@ -1,18 +1,24 @@ PORTNAME= mate-pam-helper DISTVERSION= 1.3 CATEGORIES= security sysutils MAINTAINER= ericbsd@FreeBSD.org COMMENT= MATE authenticate applications requiring PAM services WWW= https://github.com/ghostbsd/mate-pam-helper LICENSE= BSD2CLAUSE USES= uidfix USE_CSTD= c11 USE_GITHUB= yes GH_ACCOUNT= GhostBSD PLIST_FILES= bin/mate_pam_helper +.include + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=unused-but-set-variable +.endif + .include