diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-12 19:43:27 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-12 19:45:17 +0000 |
commit | f2734cc7f4620c7cecd99159be63cd04188f46d1 (patch) | |
tree | b0f48e70eba668fc71eec6269a7bcef5a0704814 /java/netty | |
parent | 32c04687e66fa73d7936c272237d08e365fe9be9 (diff) | |
download | ports-f2734cc7f4620c7cecd99159be63cd04188f46d1.tar.gz ports-f2734cc7f4620c7cecd99159be63cd04188f46d1.zip |
java/netty: Fix buils with llvm15
- OPTOINIZE DOCS install
Approved by: portmgr (blanket)
Diffstat (limited to 'java/netty')
-rw-r--r-- | java/netty/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
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 |