Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2023 20:02:46 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6895005e7d4a - main - security/rubygem-gpgme: Fix build with llvm16
Message-ID:  <202307232002.36NK2k11025204@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6895005e7d4aabf89749fe43c4370d1a5a5f3e73

commit 6895005e7d4aabf89749fe43c4370d1a5a5f3e73
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 20:02:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 20:02:31 +0000

    security/rubygem-gpgme: Fix build with llvm16
    
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 security/rubygem-gpgme/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/security/rubygem-gpgme/Makefile b/security/rubygem-gpgme/Makefile
index c2d7de517472..272ea86e2637 100644
--- a/security/rubygem-gpgme/Makefile
+++ b/security/rubygem-gpgme/Makefile
@@ -17,9 +17,14 @@ LIB_DEPENDS=	libassuan.so:security/libassuan \
 		libgpgme.so:security/gpgme
 
 USES=		gem pkgconfig shebangfix
+SHEBANG_FILES=	test/pinentry
 
 CONFIGURE_ARGS=	--use-system-libraries
 
-SHEBANG_FILES=	test/pinentry
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CONFIGURE_ARGS+=	--with-cflags="-Wno-error=incompatible-function-pointer-types"
+.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307232002.36NK2k11025204>