git: 0d6240b224fc - main - security/nss_compat_ossl: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 10 Jun 2023 17:14:25 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=0d6240b224fc6fd0d095a4126109721c46fe5a20 commit 0d6240b224fc6fd0d095a4126109721c46fe5a20 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-10 17:12:30 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-10 17:14:08 +0000 security/nss_compat_ossl: Fix build with llvm15 - Pet portclippy --- security/nss_compat_ossl/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/security/nss_compat_ossl/Makefile b/security/nss_compat_ossl/Makefile index 977c42e3b933..cec95fd3762d 100644 --- a/security/nss_compat_ossl/Makefile +++ b/security/nss_compat_ossl/Makefile @@ -14,10 +14,18 @@ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libnspr4.so:devel/nspr \ libnss3.so:security/nss -GNU_CONFIGURE= yes USES= cpe pkgconfig libtool CPE_VENDOR= ${PORTNAME}_project -INSTALL_TARGET= install-strip USE_LDCONFIG= yes +GNU_CONFIGURE= yes + +INSTALL_TARGET= install-strip + +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + .include <bsd.port.mk>