Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2023 19:45:38 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: f2734cc7f462 - main - java/netty: Fix buils with llvm15
Message-ID:  <202306121945.35CJjcPQ074297@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=f2734cc7f4620c7cecd99159be63cd04188f46d1

commit f2734cc7f4620c7cecd99159be63cd04188f46d1
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-12 19:43:27 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-12 19:45:17 +0000

    java/netty: Fix buils with llvm15
    
    - OPTOINIZE DOCS install
    
    Approved by:    portmgr (blanket)
---
 java/netty/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/java/netty/Makefile b/java/netty/Makefile
index f43bdb9aca8e..c3a469ef8fdb 100644
--- a/java/netty/Makefile
+++ b/java/netty/Makefile
@@ -56,6 +56,10 @@ NETTY_ARCH=	sparc_64
 NETTY_ARCH=	${ARCH}
 .endif
 
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=int-conversion
+.endif
+
 post-extract:
 	(cd ${WRKSRC} && \
 		${JAR} xf jar/netty-transport-native-kqueue-${PORTVERSION}.Final-sources.jar)
@@ -75,6 +79,9 @@ do-install:
 	@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
 	${INSTALL_DATA} ${WRKSRC}/jar/all-in-one/${PORTNAME}-all-${PORTVERSION}.Final.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}-${PORTVERSION}.jar
 	${LN} -nfs ${PORTNAME}-${PORTVERSION}.jar ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${JAVAJARDIR}
 .for DIR in ${DOCDIRS}
 	@cd ${WRKSRC} && ${COPYTREE_SHARE} ${DIR} ${STAGEDIR}${DOCSDIR}
 .endfor



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