git: ab19dba754da - main - security/mate-pam-helper: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Jul 2023 10:50:24 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=ab19dba754dafda801bc92348a01257804adc1d2 commit ab19dba754dafda801bc92348a01257804adc1d2 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-23 08:51:48 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-23 10:50:16 +0000 security/mate-pam-helper: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- security/mate-pam-helper/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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 @@ -15,4 +15,10 @@ GH_ACCOUNT= GhostBSD PLIST_FILES= bin/mate_pam_helper +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=unused-but-set-variable +.endif + .include <bsd.port.mk>